32#include <utility/logging/loggable.hpp>
33#include <utility/logging/default_logger.hpp>
35#include <utility/demangle.hpp>
37#include "guillaume/ecs/system.hpp"
68 public utility::logging::Loggable<SystemRegistry,
69 utility::logging::DefaultLogger>
73 std::array<std::vector<std::unique_ptr<System>>,
110 const std::vector<std::unique_ptr<System>> &
const std::vector< std::unique_ptr< System > > & getSystemsByPhase(Phase phase) const
Get the systems of a phase, in the order they run.
SystemRegistry(void)=default
Create a registry with no system.
~SystemRegistry(void)=default
Destroy the registry and the systems it owns.
void registerNewSystem(std::unique_ptr< System > system)
Take ownership of a system and append it to the list of its phase (System::getPhase).
The entity-component-system core, independent of any widget.
Phase
The four steps of a frame. Every system belongs to one of them.
@ Count
Number of phases; not a phase.