OSB_LIB::TcatLockManager::UnlockAll Class Reference

Inheritance diagram for OSB_LIB::TcatLockManager::UnlockAll:

Inheritance graph
[legend]
Collaboration diagram for OSB_LIB::TcatLockManager::UnlockAll:

Collaboration graph
[legend]
List of all members.

Detailed Description

Unlock all mutexs held by the lock manager.

Definition at line 55 of file tcatlockmanager.h.

Public Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_LIB::TcatLockManager::UnlockAll::UnlockAll ( std::list< RwMutex * >  lMutex  ) 

Constructor with mutexs.

Parameters:
lMutex List of mutexs to unlock.


Member Function Documentation

virtual int OSB_LIB::TcatLockManager::UnlockAll::cleanup (  )  [virtual]

Unlock all mutexs in the list.

Calls Mutex::unlock if lMutex_ is not NULL.

Returns:
0 if any value of the mutex in the list is 0.
Note:
The order of unlock is from first to the last element in the list.

Implements OSB_LIB::Guard::Cleanup.


Member Data Documentation

std::list<RwMutex*> OSB_LIB::TcatLockManager::UnlockAll::lMutex_ [private]

List of mutexs to unlock.

Remarks:
The class never takes ownership of the mutexs.

Definition at line 80 of file tcatlockmanager.h.


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