FreePOOMA
2.4.1
|
A simple utility class which can generate a sequence of unique values. More...
#include "Threads/PoomaMutex.h"
Classes | |
class | Unique |
The Overview pretty much sums it up. More... |
A simple utility class which can generate a sequence of unique values.
It has one static method 'get' which returns the next unique value, of type Unique::Value_t. This should be assumed to be of integral type such as int or long. The values are not guaranteed to be in any order, or to be positive or negative, they are just guaranteed to be different than the earlier calls to 'get'.