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