#include <ugdk/util/idgenerator.h>
ugdk::util::IDGenerator::IDGenerator |
( |
int |
min_id, |
|
|
int |
max_id, |
|
|
int |
error_value |
|
) |
| |
ugdk::util::IDGenerator::~IDGenerator |
( |
| ) |
|
|
inline |
int ugdk::util::IDGenerator::error_value |
( |
| ) |
const |
|
inline |
The error value for this generator.
int ugdk::util::IDGenerator::GenerateID |
( |
| ) |
|
Generate a new id.
- Returns
- The new unique id.
int ugdk::util::IDGenerator::ReleaseID |
( |
int |
id | ) |
|
Release an id.
- Returns
- An error value or the recieved id.
The documentation for this class was generated from the following file: