71#ifndef LASS_GUARDIAN_OF_INCLUSION_UTIL_ID_GENERATOR_H
72#define LASS_GUARDIAN_OF_INCLUSION_UTIL_ID_GENERATOR_H
93 IdGenerator(
typename CallTraits<T>::TParam iFirstId = 0 );
97 void setNext(
typename CallTraits<T>::TParam iNextId );
101 std::atomic<typename CallTraits<T>::TValue> nextId_;
void setNext(typename CallTraits< T >::TParam iNextId)
set the next ID to be drawn.
CallTraits< T >::TValue operator()()
Generate an ID.
IdGenerator(typename CallTraits< T >::TParam iFirstId=0)
Construct an ID generator of which iFirstId is the first ID to be generated.
general utility, debug facilities, ...
Library for Assembled Shared Sources.