cxxtools::WriteLock Class Reference

#include <cxxtools/mutex.h>

Inheritance diagram for cxxtools::WriteLock:
cxxtools::NonCopyable

Public Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

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