Open Lighting Architecture
Latest Git
|
Allocate UIDs from a pool.
Given a starting UID, this returns successive UIDs until the manufacturer range is exhausted.
Public Member Functions | |
UIDAllocator (const UID &uid) | |
Create a new allocator with the starting UID. More... | |
UIDAllocator (const UID &uid, uint32_t last_device_id) | |
Create a new allocator with the starting UID that ends at the specified last_device_id. More... | |
UID * | AllocateNext () |
Allocate the next UID from the pool. More... | |
|
inlineexplicit |
|
inline |
|
inline |