#include <Lock.hxx>
Public Types | |
typedef MutexType | mutex_type |
Public Member Functions | |
ScopedLock (MutexType &mx, bool initially_locked=true) | |
~ScopedLock () | |
void | Lock () |
void | Unlock () |
bool | Locked () const |
operator const void * () const | |
Friends | |
class | CLAM::Condition |
Definition at line 73 of file Lock.hxx.
typedef MutexType CLAM::Hidden::ScopedLock< MutexType >::mutex_type |
CLAM::Hidden::ScopedLock< MutexType >::ScopedLock | ( | MutexType & | mx, | |
bool | initially_locked = true | |||
) | [inline, explicit] |
Definition at line 78 of file Lock.hxx.
References CLAM::Hidden::ScopedLock< MutexType >::Lock().
CLAM::Hidden::ScopedLock< MutexType >::~ScopedLock | ( | ) | [inline] |
Definition at line 84 of file Lock.hxx.
References CLAM::Hidden::ScopedLock< MutexType >::Unlock().
void CLAM::Hidden::ScopedLock< MutexType >::Lock | ( | ) | [inline] |
Definition at line 90 of file Lock.hxx.
Referenced by CLAM::Hidden::ScopedLock< MutexType >::ScopedLock().
bool CLAM::Hidden::ScopedLock< MutexType >::Locked | ( | ) | const [inline] |
CLAM::Hidden::ScopedLock< MutexType >::operator const void * | ( | ) | const [inline] |
void CLAM::Hidden::ScopedLock< MutexType >::Unlock | ( | ) | [inline] |
Definition at line 99 of file Lock.hxx.
Referenced by CLAM::Hidden::ScopedLock< MutexType >::~ScopedLock().
friend class CLAM::Condition [friend] |