casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Private Attributes
casa::RegSequence Class Reference

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

#include <RegSequence.h>

Inheritance diagram for casa::RegSequence:
casa::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 54 of file RegSequence.h.


Member Function Documentation

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.


Member Data Documentation

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

     

Definition at line 63 of file RegSequence.h.

Referenced by SgetNext().

Definition at line 64 of file RegSequence.h.


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