version 3.3

VRS::IDManager Class Reference

Static class for managing global unique IDs. More...

#include <vrs/idmanager.h>

List of all members.

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.


Detailed Description

Static class for managing global unique IDs.

Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Mon May 21 06:00:18 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact