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

ClassLockable Class Template Reference

#include <ClassLockable.h>

Inheritance diagram for ClassLockable:

Lockable List of all members.

Public Methods

 ClassLockable ()
 Create a ClassLockable.

virtual ~ClassLockable ()
 Destroy the ClassLockable.

virtual void acquire ()
 acquire() the ClassLockable

virtual bool tryAcquire (unsigned long timeout)
 tryAcquire() the ClassLockable

virtual void release ()
 release() the ClassLockable


Detailed Description

template<typename ClassType, class LockType>
class ZThread::ClassLockable< ClassType, LockType >

Author:
Eric Crahen <crahen@cse.buffalo.edu>
Date:
<2002-05-30T17:08:19-0400>
Version:
2.2.0
The ClassLockable template creates a Lockable object that delegates to an different static instance of a Lockable object for each type. It is used to create a Lockable shared among all instances of the class specified in the template parameter.


The documentation for this class was generated from the following file:
Generated on Tue Aug 27 07:43:11 2002 for ZThread by doxygen1.2.17