Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members  

LockHolder Class Template Reference

#include <Guard.h>

Inheritance diagram for LockHolder:

Guard List of all members.

Public Methods

template<class T>  LockHolder (T &t)
 LockHolder (LockHolder &holder)
 LockHolder (LockType &lock)
void disable ()
bool isDisabled ()
LockType & getLock ()

Static Protected Methods

template<class T> LockHolder & extract (T &t)

Detailed Description

template<class LockType>
class ZThread::LockHolder< LockType >

Author:
Eric Crahen <crahen@cse.buffalo.edu>
Date:
<2002-05-30T16:03:16-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:
Generated on Tue Aug 27 07:43:13 2002 for ZThread by doxygen1.2.17