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

#include <time.hpp>

Inheritance diagram for neolib::ecs::time:
neolib::ecs::system< entity_info, entity_life_span > neolib::ecs::i_system

Classes

struct  meta
 

Public Member Functions

 time (i_ecs &aEcs)
 
const system_idid () const override
 
const neolib::i_stringname () const override
 
bool apply () override
 
step_time system_time () const
 
step_time world_time () const
 
- Public Member Functions inherited from neolib::ecs::system< entity_info, entity_life_span >
 system (i_ecs &aEcs)
 
 system (const system &aOther)
 
 system (system &&aOther)
 
 system (i_ecs &aEcs, ComponentIdIter aFirstComponent, ComponentIdIter aLastComponent)
 
 ~system ()
 
i_ecsecs () const override
 
const i_set< component_id > & components () const override
 
i_set< component_id > & components () override
 
const i_componentcomponent (component_id aComponentId) const override
 
i_componentcomponent (component_id aComponentId) override
 
bool can_apply () const override
 
bool paused () const override
 
void pause () override
 
void resume () override
 
void terminate () override
 
bool waiting () const override
 
void wait () override
 
void wait_for (scalar aDuration) override
 
void signal () override
 
void start_thread_if () override
 
void start_thread () override
 
bool debug () const override
 
void set_debug (bool aDebug) override
 
std::chrono::microseconds update_time (std::size_t aMetricsIndex=0) const override
 
- Public Member Functions inherited from neolib::ecs::i_system
virtual ~i_system ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from neolib::ecs::system< entity_info, entity_life_span >
bool have_thread () const
 
threadget_thread () const
 
void yield (bool aSleep=false)
 
std::mutex & waiting_mutex ()
 
void start_update (std::size_t aMetricsIndex=0)
 
void end_update (std::size_t aMetricsIndex=0)
 

Detailed Description

Definition at line 45 of file time.hpp.

Constructor & Destructor Documentation

◆ time()

neolib::ecs::time::time ( i_ecs aEcs)

Member Function Documentation

◆ apply()

bool neolib::ecs::time::apply ( )
overridevirtual

Implements neolib::ecs::i_system.

◆ id()

const system_id & neolib::ecs::time::id ( ) const
overridevirtual

Implements neolib::ecs::i_system.

◆ name()

const neolib::i_string & neolib::ecs::time::name ( ) const
overridevirtual

Implements neolib::ecs::i_system.

◆ system_time()

step_time neolib::ecs::time::system_time ( ) const

◆ world_time()

step_time neolib::ecs::time::world_time ( ) const

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