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.
- ~IPrivateSemaphoreHandle
public:
~IPrivateSemaphoreHandle()
- Destroys the private semaphore handle.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- 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.
- asDebugInfo
public:
IString asDebugInfo() const
- Returns the handle as a string containing diagnostic information.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- 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.
- asUnsigned
public:
unsigned long asUnsigned() const
- Returns the handle value as an unsigned long value.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- operator =
public:
IPrivateSemaphoreHandle& operator =(Value privSemId)
- Assigns a new handle value to this object.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- 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 |
- 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 |
operator <<
ostream& operator <<(ostream& aStream, const IPrivateSemaphoreHandle& aHandle)
- Formats this private semaphore object to the passed ostream.
Inherited Public Functions
Inherited Public Data
Inherited Protected Functions
Inherited Protected Data