LockHolder< LockType > Class Template Reference
#include <Guard.h>
Inheritance diagram for LockHolder< LockType >:

Public Member Functions | |
template<class T > | |
LockHolder (T &t) | |
LockHolder (LockHolder &holder) | |
LockHolder (LockType &lock) | |
void | disable () |
bool | isDisabled () |
LockType & | getLock () |
Static Protected Member Functions | |
template<class T > | |
static LockHolder & | extract (T &t) |
Detailed Description
template<class LockType>
class ZThread::LockHolder< LockType >
class ZThread::LockHolder< LockType >
- Date
- <2003-07-16T17:55:42-0400>
- Version
- 2.2.0
This is a simple base class for Guards class. It allows Guards that have compatible targets to refer to each others targets allowing for the construction of Guards that share the same lock but have different locking policies.
The documentation for this class was generated from the following file:
- Guard.h