Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::util::LockSmith Class Reference

Inheritance diagram for ONE::util::LockSmith:

Inheritance graph
[legend]
List of all members.

Detailed Description

abstract base for thread synchronization objects that create Lock objects

Author:
Daniel Seibert


Public Member Functions

Lock createLock () const
 locks this object
virtual ~LockSmith ()

Protected Member Functions

virtual void lock () const =0
virtual void release () const =0

Protected Attributes

friend Lock


Constructor & Destructor Documentation

virtual ONE::util::LockSmith::~LockSmith  )  [inline, virtual]
 


Member Function Documentation

Lock ONE::util::LockSmith::createLock  )  const
 

locks this object

The lock is released when the returned Lock object is destroyed or when Lock::release is called on it.

Exceptions:
EngineException if the lock cannot be acquired

virtual void ONE::util::LockSmith::lock  )  const [protected, pure virtual]
 

virtual void ONE::util::LockSmith::release  )  const [protected, pure virtual]
 


Member Data Documentation

friend ONE::util::LockSmith::Lock [protected]
 


Generated on Wed Sep 7 19:03:32 2005 for ONEngine by  doxygen 1.4.3