|
CeresEngine 0.2.0
A game development framework
|
A abstract class that provides a trait that allows checking for system implementations. More...
#include <CeresEngine/Entity/System.hpp>
Public Member Functions | |
| virtual | ~AbstractSystem ()=default |
| Defaulted virtual destructor. | |
| virtual void | update (double time)=0 |
| Updates the system. | |
| virtual SystemOrder | getOrder () const noexcept |
Static Public Attributes | |
| static const SystemOrder | defaultOrder |
| The default execution updating order for systems. | |
Protected Member Functions | |
| virtual void | attached (EntityManager &entityManager, SystemManager &systemManager) |
| A method called by the system manager once the system has been attached to the manager. | |
| virtual void | detached (EntityManager &entityManager, SystemManager &systemManager) |
| A method called by the system manager once the system has been detached from the manager. | |
| EntityManager & | entities () noexcept |
| const EntityManager & | entities () const noexcept |
| SystemManager & | systems () noexcept |
| const SystemManager & | systems () const noexcept |
| EntityEventManager & | events () noexcept |
| const EntityEventManager & | events () const noexcept |
Private Attributes | |
| EntityManager * | mEntityManager = nullptr |
| The entity manager for the system. | |
| SystemManager * | mSystemManager = nullptr |
| The system manager for the system. | |
Static Private Attributes | |
| static SystemID | nextSystemID = 0 |
| The next system ID to be statically allocated by the compiler. | |
Friends | |
| class | SystemManager |
| template<typename T , typename EntityObjects , typename Components , typename Actions > | |
| class | System |
A abstract class that provides a trait that allows checking for system implementations.
|
virtualdefault |
Defaulted virtual destructor.
|
protectedvirtual |
A method called by the system manager once the system has been attached to the manager.
| entityManager | The entity manager the system is attaching |
| systemManager | The system manager the system is attaching |
Reimplemented in CeresEngine::System< T, EntityObjectSet< EOs... >, ComponentSet< Cs... >, EntityActionSet< As... > >.
|
protectedvirtual |
A method called by the system manager once the system has been detached from the manager.
| entityManager | The entity manager the system is attaching |
| systemManager | The system manager the system is attaching |
Reimplemented in CeresEngine::System< T, EntityObjectSet< EOs... >, ComponentSet< Cs... >, EntityActionSet< As... > >.
|
protectednoexcept |
|
protectednoexcept |
|
protectednoexcept |
|
protectednoexcept |
|
virtualnoexcept |
|
protectednoexcept |
|
protectednoexcept |
Updates the system.
| time | The amount of time elapsed since the last update |
|
friend |
|
static |
The default execution updating order for systems.
|
private |
The entity manager for the system.
|
private |
The system manager for the system.
|
inlinestaticprivate |
The next system ID to be statically allocated by the compiler.