|
R-Type 0.1
|
Process wide source of unique network entity ids, starting at 1000. More...
#include <NetworkIdGenerator.hpp>
Public Member Functions | |
| NetworkIdGenerator (const NetworkIdGenerator &)=delete | |
| NetworkIdGenerator & | operator= (const NetworkIdGenerator &)=delete |
| std::uint32_t | getNextId () |
| Returns a new id, thread safe. | |
Static Public Member Functions | |
| static NetworkIdGenerator & | getInstance () |
| Returns the single generator instance. | |
Process wide source of unique network entity ids, starting at 1000.
|
inlinestatic |
Returns the single generator instance.
|
inline |
Returns a new id, thread safe.