| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/idmanager.h>
Static Public Member Functions | |
| static UINT32 | CreateID () |
| Create a new unique ID. | |
| static void | DeleteID (UINT32 id) |
| Gives back the given id, that is, this id could be returned by CreateID() again. | |
| static void | Reset () |
| Forgets about all the IDs already returned by this manager. | |
| static UINT32 VRS::IDManager::CreateID | ( | ) | [static] |
Create a new unique ID.
0 will never be returned, so 0 can be used as a "not assigned ID" indicator.
| static void VRS::IDManager::DeleteID | ( | UINT32 | id | ) | [static] |
Gives back the given id, that is, this id could be returned by CreateID() again.
| static void VRS::IDManager::Reset | ( | ) | [static] |
Forgets about all the IDs already returned by this manager.