21 #ifndef OLAD_UNIVERSESTORE_H_
22 #define OLAD_UNIVERSESTORE_H_
28 #include "ola/Clock.h"
39 Universe *GetUniverse(
unsigned int universe_id)
const;
40 Universe *GetUniverseOrCreate(
unsigned int universe_id);
42 unsigned int UniverseCount()
const {
return m_universe_map.size(); }
43 void GetList(std::vector<Universe*> *universes)
const;
46 void AddUniverseGarbageCollection(
Universe *universe);
47 void GarbageCollectUniverses();
50 typedef std::map<unsigned int, Universe*> universe_map;
55 universe_map m_universe_map;
56 std::set<Universe*> m_deletion_candiates;
62 bool RestoreUniverseSettings(
Universe *universe)
const;
63 bool SaveUniverseSettings(
Universe *universe)
const;
65 static const unsigned int MINIMUM_RDM_DISCOVERY_INTERVAL;
68 #endif // OLAD_UNIVERSESTORE_H_