|
| declare_event (systems_paused) declare_event(systems_resumed) declare_event(entity_created |
|
entity_id | declare_event (entity_destroyed, entity_id) declare_event(handle_updated |
|
virtual neolib::i_lockable & | mutex () const =0 |
|
virtual neolib::thread_pool & | thread_pool () const =0 |
|
virtual ecs_flags | flags () const =0 |
|
virtual entity_id | create_entity (const entity_archetype_id &aArchetypeId)=0 |
|
virtual void | async_create_entity (const std::function< void()> &aCreator)=0 |
|
virtual void | commit_async_entity_creation ()=0 |
|
virtual void | destroy_entity (entity_id aEntityId, bool aNotify=true)=0 |
|
virtual void | async_destroy_entity (entity_id aEntityId, bool aNotify=true)=0 |
|
virtual void | commit_async_entity_destruction ()=0 |
|
virtual bool | run_threaded (const system_id &aSystemId) const =0 |
|
virtual bool | all_systems_paused () const =0 |
|
virtual void | pause_all_systems ()=0 |
|
virtual void | resume_all_systems ()=0 |
|
virtual const archetype_registry_t & | archetypes () const =0 |
|
virtual archetype_registry_t & | archetypes ()=0 |
|
virtual const component_factories_t & | component_factories () const =0 |
|
virtual component_factories_t & | component_factories ()=0 |
|
virtual const components_t & | components () const =0 |
|
virtual components_t & | components ()=0 |
|
virtual const shared_component_factories_t & | shared_component_factories () const =0 |
|
virtual shared_component_factories_t & | shared_component_factories ()=0 |
|
virtual const shared_components_t & | shared_components () const =0 |
|
virtual shared_components_t & | shared_components ()=0 |
|
virtual const system_factories_t & | system_factories () const =0 |
|
virtual system_factories_t & | system_factories ()=0 |
|
virtual const systems_t & | systems () const =0 |
|
virtual systems_t & | systems ()=0 |
|
virtual const i_entity_archetype & | archetype (entity_archetype_id aArchetypeId) const =0 |
|
virtual i_entity_archetype & | archetype (entity_archetype_id aArchetypeId)=0 |
|
virtual bool | component_instantiated (component_id aComponentId) const =0 |
|
virtual const i_component & | component (component_id aComponentId) const =0 |
|
virtual i_component & | component (component_id aComponentId)=0 |
|
virtual bool | shared_component_instantiated (component_id aComponentId) const =0 |
|
virtual const i_shared_component & | shared_component (component_id aComponentId) const =0 |
|
virtual i_shared_component & | shared_component (component_id aComponentId)=0 |
|
virtual bool | system_instantiated (system_id aSystemId) const =0 |
|
virtual const i_system & | system (system_id aSystemId) const =0 |
|
virtual i_system & | system (system_id aSystemId)=0 |
|
virtual entity_id | next_entity_id ()=0 |
|
virtual void | free_entity_id (entity_id aId)=0 |
|
virtual bool | archetype_registered (const i_entity_archetype &aArchetype) const =0 |
|
virtual void | register_archetype (const i_entity_archetype &aArchetype)=0 |
|
virtual void | register_archetype (std::shared_ptr< const i_entity_archetype > aArchetype)=0 |
|
virtual bool | component_registered (component_id aComponentId) const =0 |
|
virtual void | register_component (component_id aComponentId, component_factory aFactory)=0 |
|
virtual bool | shared_component_registered (component_id aComponentId) const =0 |
|
virtual void | register_shared_component (component_id aComponentId, shared_component_factory aFactory)=0 |
|
virtual bool | system_registered (system_id aSystemId) const =0 |
|
virtual void | register_system (system_id aSystemId, system_factory aFactory)=0 |
|
virtual handle_t | to_handle (handle_id aId) const =0 |
|
virtual handle_id | add_handle (const std::type_info &aTypeInfo, handle_t aHandle)=0 |
|
virtual handle_t | update_handle (handle_id aId, const std::type_info &aTypeInfo, handle_t aHandle)=0 |
|
virtual handle_t | release_handle (handle_id aId)=0 |
|
template<typename... ComponentData> |
entity_id | create_entity (const entity_archetype_id &aArchetypeId, ComponentData &&... aComponentData) |
|
template<typename Archetype , typename... ComponentData> |
entity_id | create_entity (const Archetype &aArchetype, ComponentData &&... aComponentData) |
|
template<typename... ComponentData> |
void | async_create_entity (entity_archetype_id aArchetypeId, ComponentData... aComponentData) |
|
template<typename Archetype , typename... ComponentData> |
void | async_create_entity (const Archetype &aArchetype, ComponentData... aComponentData) |
|
template<typename ComponentData , typename... ComponentDataRest> |
void | populate (entity_id aEntity, ComponentData &&aComponentData, ComponentDataRest &&... aComponentDataRest) |
|
template<typename ComponentData > |
void | populate (entity_id aEntity, ComponentData &&aComponentData) |
|
template<typename ComponentData , typename... ComponentDataRest> |
void | populate_shared (const std::string &aName, ComponentData &&aComponentData, ComponentDataRest &&... aComponentDataRest) |
|
template<typename ComponentData > |
void | populate_shared (const std::string &aName, ComponentData &&aComponentData) |
|
template<typename ComponentData > |
bool | component_instantiated () const |
|
template<typename ComponentData > |
const neolib::ecs::component< ComponentData > & | component () const |
|
template<typename ComponentData > |
neolib::ecs::component< ComponentData > & | component () |
|
template<typename ComponentData > |
bool | shared_component_instantiated () const |
|
template<typename ComponentData > |
const neolib::ecs::shared_component< ComponentData > & | shared_component () const |
|
template<typename ComponentData > |
neolib::ecs::shared_component< ComponentData > & | shared_component () |
|
template<typename System > |
bool | system_instantiated () const |
|
template<typename System > |
const ecs_data_type_t< System > & | system () const |
|
template<typename System > |
ecs_data_type_t< System > & | system () |
|
template<typename ComponentData > |
bool | component_registered () const |
|
template<typename ComponentData > |
void | register_component () |
|
template<typename ComponentData > |
bool | shared_component_registered () const |
|
template<typename ComponentData > |
void | register_shared_component () |
|
template<typename System > |
bool | system_registered () const |
|
template<typename System > |
void | register_system () |
|
template<typename Handle > |
Handle | to_handle (handle_id aId) const |
|
template<typename Context , typename Handle > |
handle_id | add_handle (Handle aHandle) |
|
template<typename Context , typename Handle > |
Handle | update_handle (handle_id aId, Handle aHandle) |
|
template<typename Handle > |
Handle | release_handle (handle_id aId) |
|
| declare_event (destroying) |
|
| declare_event (destroyed) |
|
virtual | ~i_object ()=default |
|
virtual | ~i_lifetime ()=default |
|
virtual lifetime_state | object_state () const =0 |
|
virtual std::shared_ptr< std::atomic< lifetime_state > > | object_state_ptr () const =0 |
|
virtual bool | is_creating () const =0 |
|
virtual bool | is_alive () const =0 |
|
virtual bool | is_destroying () const =0 |
|
virtual bool | is_destroyed () const =0 |
|
virtual void | set_alive ()=0 |
|
virtual void | set_destroying ()=0 |
|
virtual void | set_destroyed ()=0 |
|
Definition at line 84 of file i_ecs.hpp.