neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::ecs::i_system Class Referenceabstract

#include <i_system.hpp>

Inheritance diagram for neolib::ecs::i_system:
neolib::ecs::system< entity_info, animation_filter, mesh_renderer, mesh_render_cache > neolib::ecs::system< entity_info, box_collider, box_collider_2d > neolib::ecs::system<> neolib::ecs::system< entity_info, box_collider, box_collider_2d, mesh_filter, rigid_body, mesh_render_cache > neolib::ecs::system< entity_info, entity_life_span > neolib::ecs::system< ComponentData > neogfx::game::animator neogfx::game::collision_detector neogfx::game::game_world neogfx::game::simple_physics neolib::ecs::time

Classes

struct  cannot_apply
 
struct  no_thread
 
struct  wrong_thread
 

Public Member Functions

virtual ~i_system ()=default
 
virtual i_ecsecs () const =0
 
virtual const system_idid () const =0
 
virtual const neolib::i_stringname () const =0
 
virtual const neolib::i_set< component_id > & components () const =0
 
virtual neolib::i_set< component_id > & components ()=0
 
virtual const i_componentcomponent (component_id aComponentId) const =0
 
virtual const i_componentcomponent (component_id aComponentId)=0
 
virtual bool can_apply () const =0
 
virtual bool apply ()=0
 
virtual bool paused () const =0
 
virtual void pause ()=0
 
virtual void resume ()=0
 
virtual void terminate ()=0
 
virtual bool waiting () const =0
 
virtual void wait ()=0
 
virtual void wait_for (scalar aDuration)=0
 
virtual void signal ()=0
 
virtual void start_thread_if ()=0
 
virtual void start_thread ()=0
 
virtual bool debug () const =0
 
virtual void set_debug (bool aDebug)=0
 
virtual std::chrono::microseconds update_time (std::size_t aMetricsIndex=0) const =0
 

Detailed Description

Definition at line 49 of file i_system.hpp.

Constructor & Destructor Documentation

◆ ~i_system()

virtual neolib::ecs::i_system::~i_system ( )
virtualdefault

Member Function Documentation

◆ apply()

◆ can_apply()

◆ component() [1/2]

◆ component() [2/2]

◆ components() [1/2]

◆ components() [2/2]

◆ debug()

◆ ecs()

◆ id()

◆ name()

◆ pause()

◆ paused()

◆ resume()

◆ set_debug()

◆ signal()

◆ start_thread()

◆ start_thread_if()

◆ terminate()

◆ update_time()

◆ wait()

◆ wait_for()

◆ waiting()


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