14#include <lagrange/ui/Entity.h>
15#include <lagrange/ui/api.h>
36 enum class Stage :
int { Init = 0, Interface, Simulation, Render, Post, _SIZE };
41 void run(Stage stage, Registry& registry);
49 StringID
add(Stage stage,
const System& system, StringID
id = 0);
55 bool enable(StringID
id,
bool value);
62 bool succeeds(StringID system_id, StringID after_id);
79 StringID m_id_counter = 1;
81 std::vector<SystemItem> m_items;
Container for Systems.
Definition Systems.h:34
bool enable(StringID id, bool value)
Enables or disables given system.
Definition Systems.cpp:51
void run(Stage stage, Registry ®istry)
Runs a stage.
Definition Systems.cpp:19
bool succeeds(StringID system_id, StringID after_id)
Places system with system_id after the system with after_id Note: Does not handle cycles nor topologi...
Definition Systems.cpp:66
bool remove(StringID id)
Removes system identifier with id
Definition Systems.cpp:90
StringID add(Stage stage, const System &system, StringID id=0)
Adds a system which will be executed at a given stage.
Definition Systems.cpp:26
Lagrange UI Viewer and mini 3D engine.
Definition AcceleratedPicking.h:23
Main namespace for Lagrange.