MPMA::TakeRWSleepLock Class Reference

Used to lock/unlock a RWSleepLock automatically using scope. The lock is released on dustruction. More...

#include <Locks.h>

List of all members.

Public Member Functions

 TakeRWSleepLock (RWSleepLock &rwsSection, bool writeAccess=true, bool takeNow=true)
 ctor - takes the lock (optionally), and releases it upon destruction
void Take (bool writeAccess)
 Manually takes the lock. (safe to call repeatedly).
void Leave ()
 Manually releases the lock. (safe to call repeatedly).


Detailed Description

Used to lock/unlock a RWSleepLock automatically using scope. The lock is released on dustruction.
The documentation for this class was generated from the following files:
Generated on Wed Feb 13 20:57:09 2008 for MPMA Framework by  doxygen 1.5.4