|
guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
|
Ties a Phase to the order in which its systems visit the entities. More...
#include <headers/guillaume/ecs/system_phase.hpp>
Public Member Functions | |
| SystemPhase (void)=default | |
| Create the phase definition and its traveler. | |
| ~SystemPhase (void)=default | |
| Destroy the phase definition and its traveler. | |
| constexpr Phase | getPhase (void) const |
| Get the phase this definition describes. | |
| const EntityTreeTraveler & | getTraveler (void) const |
| Get the traveler that orders the entities for this phase. | |
Static Public Attributes | |
| static constexpr Phase | phase = Value |
Ties a Phase to the order in which its systems visit the entities.
Application keeps one instance per phase (SystemPhaseList) and, for each, runs the systems registered for getPhase() with getTraveler(). Use the aliases EventPhase, MeasurePhase, LayoutPhase and RenderPhase rather than this template.
| Value | The phase. |
| TravelerType | The traveler that orders the entities for the systems of this phase. |
Definition at line 78 of file system_phase.hpp.
|
constexpr |
Get the phase this definition describes.
| const EntityTreeTraveler & guillaume::ecs::SystemPhase< Value, TravelerType >::getTraveler | ( | void | ) | const |
Get the traveler that orders the entities for this phase.
|
staticconstexpr |
The phase, known at compile time
Definition at line 81 of file system_phase.hpp.