Sirikata
|
Generates unique IDs of 32-bits. More...
#include <UniqueID.hpp>
Public Member Functions | |
uint32 | operator() () |
Static Private Attributes | |
static AtomicValue< uint32 > | sSource |
Generates unique IDs of 32-bits.
Values will wrap around, so they are not strictly unique -- you should make sure you use a large enough space to avoid duplicates after wraparound. For convenience, the value 0 is not used.
uint32 Sirikata::UniqueID32::operator() | ( | ) | [inline] |
AtomicValue< uint32 > Sirikata::UniqueID32::sSource [static, private] |