cxxtools::ReadLock Class Reference

#include <cxxtools/mutex.h>

Inheritance diagram for cxxtools::ReadLock:
cxxtools::NonCopyable

Public Member Functions

 ReadLock (ReadWriteMutex &m, bool doLock=true, bool isLocked=false)
 ~ReadLock ()
void lock ()
void unlock ()
ReadWriteMutexmutex ()

Additional Inherited Members

- Private Member Functions inherited from cxxtools::NonCopyable
 NonCopyable ()

Constructor & Destructor Documentation

cxxtools::ReadLock::ReadLock ( ReadWriteMutex m,
bool  doLock = true,
bool  isLocked = false 
)
inline
cxxtools::ReadLock::~ReadLock ( )
inline

Member Function Documentation

void cxxtools::ReadLock::lock ( )
inline
ReadWriteMutex& cxxtools::ReadLock::mutex ( )
inline
void cxxtools::ReadLock::unlock ( )
inline

The documentation for this class was generated from the following file: