| IOLink 1.11.0

Loading...
Searching...
No Matches
UidGenerator.h
1#pragma once
2
3#include <cstdint>
4
5#include <iolink/IOLinkAPI.h>
6
7 namespace iolink
8{
9
13 class IOLINK_API UidGenerator
14{
15 public:
22 static const uint64_t UNDEFINED_UID;
23
29 static uint64_t generate();
30};
31
32} // namespace iolink
iolink::UidGenerator
A collection of fonctions and constant useful for managing unique identifiers.
Definition UidGenerator.h:14
iolink::UidGenerator::generate
static uint64_t generate()
Generate a random unique identifier.
iolink::UidGenerator::UNDEFINED_UID
static const uint64_t UNDEFINED_UID
Special UID that describes undefined ones.
Definition UidGenerator.h:22
iolink
All IOLink symbols are enclosed in this namespace.
Definition ArrayX.h:8