Detailed Description
Maintains a collection of Universe objects.
Constructor & Destructor Documentation
Member Function Documentation
void ola::UniverseStore::AddUniverseGarbageCollection |
( |
Universe * |
universe | ) |
|
Mark a universe as a candiate for garbage collection.
- Parameters
-
universe | the Universe which has no clients or ports bound. |
void ola::UniverseStore::GetList |
( |
std::vector< Universe * > * |
universes | ) |
const |
Returns a list of universes. This must be freed when you're done with it.
- Parameters
-
[out] | universes | a pointer to a vector of Universes. |
Universe * ola::UniverseStore::GetUniverse |
( |
unsigned int |
universe_id | ) |
const |
Lookup a universe from its universe-id.
- Parameters
-
universe_id | the universe-id of the universe. |
- Returns
- the universe, or NULL if the universe doesn't exist.
Universe * ola::UniverseStore::GetUniverseOrCreate |
( |
unsigned int |
universe_id | ) |
|
Lookup a universe, or create it if it does not exist.
- Parameters
-
universe_id | the universe-id of the universe. |
- Returns
- the universe, or NULL on error
The documentation for this class was generated from the following files: