IOLink IOL_v1.8.0_release
|
A collection of fonctions and constant useful for managing unique identifiers. More...
#include <iolink/UidGenerator.h>
Static Public Member Functions | |
static uint64_t | generate () |
Generate a random unique identifier. | |
Static Public Attributes | |
static const uint64_t | UNDEFINED_UID |
Special UID that describes undefined ones. | |
A collection of fonctions and constant useful for managing unique identifiers.
|
static |
Generate a random unique identifier.
This function will never return a value equal to UNDEFINED_UID.
|
static |
Special UID that describes undefined ones.
An undefined identifier being one that cannot be identified as unique, it can be used to describe a non-existing or invalid object.