Euphoria
eu::core::ecs::RegistryPimpl Struct Reference

Public Member Functions

EntityHandle create ()
 
void destroy (EntityHandle entity)
 
ComponentIndex set_component_array (const std::string &name, std::unique_ptr< ComponentArrayBase > &&components)
 
ComponentArrayBaseget_components_base (ComponentIndex comp_ind)
 
std::vector< EntityHandleview (const std::vector< ComponentIndex > &matching_components) const
 

Public Attributes

AliveEntities alive_entities
 
KnownComponentTypes known_component_types
 
AllComponents all_components
 

Detailed Description

Definition at line 189 of file ecs.cc.

Member Function Documentation

◆ create()

EntityHandle eu::core::ecs::RegistryPimpl::create ( )
inline

Definition at line 195 of file ecs.cc.

◆ destroy()

void eu::core::ecs::RegistryPimpl::destroy ( EntityHandle  entity)
inline

Definition at line 200 of file ecs.cc.

◆ get_components_base()

ComponentArrayBase* eu::core::ecs::RegistryPimpl::get_components_base ( ComponentIndex  comp_ind)
inline

Definition at line 213 of file ecs.cc.

◆ set_component_array()

ComponentIndex eu::core::ecs::RegistryPimpl::set_component_array ( const std::string &  name,
std::unique_ptr< ComponentArrayBase > &&  components 
)
inline

Definition at line 206 of file ecs.cc.

◆ view()

std::vector<EntityHandle> eu::core::ecs::RegistryPimpl::view ( const std::vector< ComponentIndex > &  matching_components) const
inline

Definition at line 218 of file ecs.cc.

Member Data Documentation

◆ alive_entities

AliveEntities eu::core::ecs::RegistryPimpl::alive_entities

Definition at line 191 of file ecs.cc.

◆ all_components

AllComponents eu::core::ecs::RegistryPimpl::all_components

Definition at line 193 of file ecs.cc.

◆ known_component_types

KnownComponentTypes eu::core::ecs::RegistryPimpl::known_component_types

Definition at line 192 of file ecs.cc.


The documentation for this struct was generated from the following file: