#include <uidpool.h>
Public Types | |
typedef INT_PTR | _type |
Public Member Functions | |
UniqueIdPool (unsigned MaxIDCount) | |
~UniqueIdPool () | |
_type | AllocateID () |
void | ReleaseID (_type ID) |
Static Public Attributes | |
static const _type | BadID = -1 |
Private Attributes | |
_type * | m_pValues |
_type * | m_pFirstFree |
InProcessMutex | m_AccessLock |
typedef INT_PTR BazisLib::UniqueIdPool::_type |
BazisLib::UniqueIdPool::UniqueIdPool | ( | unsigned | MaxIDCount | ) | [inline] |
BazisLib::UniqueIdPool::~UniqueIdPool | ( | ) | [inline] |
_type BazisLib::UniqueIdPool::AllocateID | ( | ) | [inline] |
void BazisLib::UniqueIdPool::ReleaseID | ( | _type | ID | ) | [inline] |
const _type BazisLib::UniqueIdPool::BadID = -1 [static] |
_type* BazisLib::UniqueIdPool::m_pFirstFree [private] |
_type* BazisLib::UniqueIdPool::m_pValues [private] |