casacore::RegSequence Class Reference

Sequence for the Register() template functions. More...

#include <RegSequence.h>

Inheritance diagram for casacore::RegSequence:
casacore::Sequence< uInt >

List of all members.

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

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

uInt casacore::RegSequence::getNext (  )  [virtual]

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

Implements casacore::Sequence< uInt >.

static uInt casacore::RegSequence::SgetNext (  )  [inline, static]

Definition at line 60 of file RegSequence.h.

References num.


Member Data Documentation

uInt casacore::RegSequence::num [static, private]

Definition at line 64 of file RegSequence.h.

Referenced by SgetNext().

Definition at line 65 of file RegSequence.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1