Represents a system that operates on sets of components.
More...
#include <System.hpp>
|
| System (System &&) noexcept |
| Move constructor.
|
|
System & | operator= (System &&) noexcept |
| Move assignment operator.
|
|
virtual | ~System () noexcept |
| Destructor.
|
|
virtual void | update (Registry ®istry)=0 |
| Abstract implementation for updating the system. Use the manager to retreive your components.
|
|
const std::string & | id () const noexcept |
| Get identifier.
|
|
|
| System (const std::string &id) noexcept |
| Constructor.
|
|
|
std::string | m_id |
| Debug id.
|
|
Represents a system that operates on sets of components.
Definition at line 21 of file System.hpp.
◆ System() [1/4]
galaxy::System::System |
( |
System && | s | ) |
|
|
noexcept |
◆ ~System()
galaxy::System::~System |
( |
| ) |
|
|
virtualnoexcept |
◆ System() [2/4]
galaxy::System::System |
( |
const std::string & | id | ) |
|
|
protectednoexcept |
Constructor.
- Parameters
-
Definition at line 12 of file System.cpp.
◆ System() [3/4]
galaxy::System::System |
( |
| ) |
|
|
privatedelete |
◆ System() [4/4]
galaxy::System::System |
( |
const System & | | ) |
|
|
privatedelete |
◆ operator=() [1/2]
Move assignment operator.
Definition at line 22 of file System.cpp.
◆ update()
virtual void galaxy::System::update |
( |
Registry & | registry | ) |
|
|
pure virtual |
Abstract implementation for updating the system. Use the manager to retreive your components.
- Parameters
-
registry | Entity registry to process. |
◆ id()
const std::string & galaxy::System::id |
( |
| ) |
const |
|
nodiscardnoexcept |
Get identifier.
- Returns
- Const string reference.
Definition at line 36 of file System.cpp.
◆ operator=() [2/2]
Copy assignment operator.
◆ m_id
std::string galaxy::System::m_id |
|
protected |
The documentation for this class was generated from the following files: