diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-20 12:24:59 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-20 12:24:59 +0100 |
commit | b291d662f79af8de95ab40de29a09f87470d0095 (patch) | |
tree | 0fc3318f985f888ca8dd70ac2005cb925dc6f58b /src/crepe/manager/SystemManager.h | |
parent | 2b64252d44aea2709f836eaed199bcc04e961179 (diff) |
pull 3bda25f from demo
Diffstat (limited to 'src/crepe/manager/SystemManager.h')
-rw-r--r-- | src/crepe/manager/SystemManager.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/crepe/manager/SystemManager.h b/src/crepe/manager/SystemManager.h index 50acf77..b4a001c 100644 --- a/src/crepe/manager/SystemManager.h +++ b/src/crepe/manager/SystemManager.h @@ -1,6 +1,7 @@ #pragma once #include <memory> +#include <vector> #include <typeindex> #include <unordered_map> @@ -43,6 +44,13 @@ private: */ std::unordered_map<std::type_index, std::unique_ptr<System>> systems; /** + * \brief Collection of System instances + * + * This map holds System instances indexed by the system's class typeid. It is filled in the + * constructor of \c SystemManager using SystemManager::load_system. + */ + std::vector<std::reference_wrapper<System>> system_order; + /** * \brief Initialize a system * \tparam T System type (must be derivative of \c System) */ |