Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Class List
|
Directories
|
File List
|
Namespace Members
|
Class Members
|
File Members
|
Related Pages
CP_MutexLock Class Reference
Helper class for locking and an unlocking a mutex.
More...
Inheritance diagram for CP_MutexLock:
List of all members.
Public Member Functions
CP_MutexLock
(
CP_Mutex
&m)
~CP_MutexLock
()
Private Attributes
CP_Mutex
&
m_
Detailed Description
Locks the specified mutex in it's constructor and unlocks it again in the destructor. Very helpful when working with exceptions and multiple return paths, since you won't ever forget to unlock that mutex.
Constructor & Destructor Documentation
CP_MutexLock::CP_MutexLock
(
CP_Mutex
&
m
)
[explicit]
CP_MutexLock::~
CP_MutexLock
(
)
Member Data Documentation
CP_Mutex
&
CP_MutexLock::m_
[private]
The documentation for this class was generated from the following file:
CP_Mutex.h
Generated on Sat Sep 17 20:01:53 2005 for CPLAT by
1.4.0