casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>

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

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 next
 

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 54 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 ( )
inlinestatic

Definition at line 59 of file RegSequence.h.

References next.

Member Data Documentation

uInt casacore::RegSequence::next
staticprivate

Definition at line 72 of file RegSequence.h.

Referenced by SgetNext().


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