41 #ifndef _uidgenerator_h
42 #define _uidgenerator_h
85 Boole IsIDUsed(
const IDType ID)
const;
89 Boole ReserveID(
const IDType ID);
93 Boole ReleaseID(
const IDType ID);
bool Boole
Generally acts a single bit, true or false.
All the definitions for datatypes as well as some basic conversion functions are defined here...
Interval< IDType > IntervalType
Convenience type for Intervals used by this class.
IDContainer::const_iterator ConstIDIterator
Const Iterator type for IDs generated and stored by this class.
std::vector< IntervalType > IDContainer
Basic container type for IDs generated and stored by this class.
IDContainer FreeIDs
The container storing all IDs generated and in use by this generator.
This class will generate keep track of a pool of unique 32-bit ID's that can be used for distinct obj...
uint32_t UInt32
An 32-bit unsigned integer.
This class will generate keep track of a pool of unique 32-bit ID's that can be used for distinct obj...
IDContainer::iterator IDIterator
Iterator type for IDs generated and stored by this class.
The bulk of the engine components go in this namspace.
UInt32 IDType
Convenience type for the ID to be used. Should be some flavor of int.