casacore
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
casacore::RegSequence Class Reference

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 uInt num
 
static Mutex theirMutex
 

Detailed Description

Sequence for the Register() template functions.

Intended use:

Public interface

Review Status

Reviewed By:
Friso Olnon
Date Reviewed:
1995/03/17

Prerequisite

Synopsis

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 55 of file RegSequence.h.

Member Function Documentation

◆ getNext()

uInt casacore::RegSequence::getNext ( )
virtual

Get the next uInt value in the sequence (thread-safe).

Implements casacore::Sequence< uInt >.

◆ SgetNext()

static uInt casacore::RegSequence::SgetNext ( )
inlinestatic

Definition at line 60 of file RegSequence.h.

References num.

Member Data Documentation

◆ num

uInt casacore::RegSequence::num
staticprivate

Definition at line 64 of file RegSequence.h.

Referenced by SgetNext().

◆ theirMutex

Mutex casacore::RegSequence::theirMutex
staticprivate

Definition at line 65 of file RegSequence.h.


The documentation for this class was generated from the following file: