The Sequence class implements a thread-safe increment-only object.
Definition: QC_Sequence.dox.h:8
 
constructor()
Creates a new Sequence object.
 
constructor(softint start)
Creates a new Sequence object with a starting value.
 
int next()
Atomically increments the sequence value and returns the last value.
 
int getCurrent()
Returns the current value of the sequence.
 
copy()
Creates a new Sequence object, not based on the original.
 
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2