casa
$Rev:20696$
|
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). | |
Static Public Member Functions | |
static uInt | SgetNext () |
Static Private Attributes | |
static uInt | num |
static Mutex | theirMutex |
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.
uInt casa::RegSequence::getNext | ( | ) | [virtual] |
Get the next uInt
value in the sequence (thread-safe).
Implements casa::Sequence< uInt >.
static uInt casa::RegSequence::SgetNext | ( | ) | [inline, static] |
Definition at line 59 of file RegSequence.h.
References num.
uInt casa::RegSequence::num [static, private] |
Mutex casa::RegSequence::theirMutex [static, private] |
Definition at line 64 of file RegSequence.h.