IPrivateSemaphoreHandle

This class represents the handle to a private semaphore, which can be quite different from host to host.


IPrivateSemaphoreHandle - Member Functions and Data by Group

Constructors & Destructor

Construct and destruct private semaphore handle objects.


[view class]
~IPrivateSemaphoreHandle
public:
~IPrivateSemaphoreHandle()
Destroys the private semaphore handle.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IPrivateSemaphoreHandle
public:
IPrivateSemaphoreHandle(Value privSemId = 0)
Constructs an IPrivateSemaphoreHandle object from an operating system handle of type Value. Typically this value originates in a system API call.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Diagnostics

Use these members to obtain diagnostic information.


[view class]
asDebugInfo
public:
IString asDebugInfo() const
Returns the handle as a string containing diagnostic information.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
asString
public:
IString asString() const
Returns the handle as a string of form nnnn.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Member Access

Use these methods to access member data.


[view class]
asUnsigned
public:
unsigned long asUnsigned() const
Returns the handle value as an unsigned long value.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator =
public:
IPrivateSemaphoreHandle& operator =(Value privSemId)
Assigns a new handle value to this object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator Value
public:
operator Value() const
Returns the handle as its operating system dependent type. Use this operator when you use the handle object as an argument to an operating system function.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IPrivateSemaphoreHandle - Type Definitions


[view class]
Value
typedef void * Value
A typedef for the host specific type of the semaphore handle member.

Variation 1
typedef void * Value

Supported Platforms

Windows OS/2 AIX
Yes No Yes

Variation 2
typedef unsigned long Value

Supported Platforms

Windows OS/2 AIX
No Yes No


IPrivateSemaphoreHandle - Associated Globals


operator <<
ostream& operator <<(ostream& aStream, const IPrivateSemaphoreHandle& aHandle)
Formats this private semaphore object to the passed ostream.


IPrivateSemaphoreHandle - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data