OSB_LIB::MutexUnlock Class Reference

Inheritance diagram for OSB_LIB::MutexUnlock:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::MutexUnlock:

Collaboration graph
[legend]
List of all members.

Detailed Description

Unlock a Mutex.

Remarks:
Copy constructor, assignment and destructor by compiler.

Definition at line 119 of file mutex.h.

Public Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_LIB::MutexUnlock::MutexUnlock ( Mutex pMutex = 0  )  [explicit]

Constructor with mutex.

Parameters:
pMutex Pointer to the mutex to unlock.


Member Function Documentation

virtual int OSB_LIB::MutexUnlock::cleanup (  )  [virtual]

Unlock the mutex.

Calls Mutex::unlock if pMutex_ is not NULL.

Returns:
0 if pMutex_ is 0, else Mutex::unlock().

Implements OSB_LIB::Guard::Cleanup.


Member Data Documentation

Mutex* OSB_LIB::MutexUnlock::pMutex_ [private]

Mutex to unlock.

Remarks:
The class never takes ownership of the mutex.

Definition at line 142 of file mutex.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:11:33 2006 for OSB Library by  doxygen 1.4.7