Sirikata
|
Generates unique IDs of 64-bits. More...
#include <UniqueID.hpp>
Public Member Functions | |
uint64 | operator() () |
Static Private Attributes | |
static AtomicValue< uint64 > | sSource |
Generates unique IDs of 64-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.
uint64 Sirikata::UniqueID64::operator() | ( | ) | [inline] |
AtomicValue< uint64 > Sirikata::UniqueID64::sSource [static, private] |