|
casacore
|
Sequence for the Register() template functions. More...
#include <RegSequence.h>
Public Member Functions | |
| uInt | getNext () |
Get the next uInt value in the sequence (thread-safe). More... | |
Public Member Functions inherited from casacore::Sequence< uInt > | |
| virtual | ~Sequence () |
Static Public Member Functions | |
| static uInt | SgetNext () |
Static Private Attributes | |
| static std::atomic< uInt > | next |
Sequence for the Register() template functions.
Public interface
This class provides a Sequence for the Register() template functions. Providing a separate sequence exclusively for Register() makes it less likely that the uInt counter will overflow.
Definition at line 54 of file RegSequence.h.
|
virtual |
Get the next uInt value in the sequence (thread-safe).
Implements casacore::Sequence< uInt >.
|
inlinestatic |
Definition at line 59 of file RegSequence.h.
References next.
|
staticprivate |
Definition at line 70 of file RegSequence.h.
Referenced by SgetNext().
1.8.18