#include <Lock.hxx>
Public Types | |
typedef TryMutexType | mutex_type |
Public Member Functions | |
ScopedTryLock (TryMutexType &mx) | |
ScopedTryLock (TryMutexType &mx, bool initially_locked) | |
~ScopedTryLock () | |
void | Lock () |
bool | TryLock () |
void | Unlock () |
bool | Locked () const |
operator const void * () const | |
Friends | |
class | CLAM::Condition |
Definition at line 127 of file Lock.hxx.
typedef TryMutexType CLAM::Hidden::ScopedTryLock< TryMutexType >::mutex_type |
CLAM::Hidden::ScopedTryLock< TryMutexType >::ScopedTryLock | ( | TryMutexType & | mx | ) | [inline, explicit] |
Definition at line 132 of file Lock.hxx.
References CLAM::Hidden::ScopedTryLock< TryMutexType >::TryLock().
CLAM::Hidden::ScopedTryLock< TryMutexType >::ScopedTryLock | ( | TryMutexType & | mx, | |
bool | initially_locked | |||
) | [inline] |
Definition at line 138 of file Lock.hxx.
References CLAM::Hidden::ScopedTryLock< TryMutexType >::Lock().
CLAM::Hidden::ScopedTryLock< TryMutexType >::~ScopedTryLock | ( | ) | [inline] |
Definition at line 145 of file Lock.hxx.
References CLAM::Hidden::ScopedTryLock< TryMutexType >::Unlock().
void CLAM::Hidden::ScopedTryLock< TryMutexType >::Lock | ( | ) | [inline] |
Definition at line 151 of file Lock.hxx.
Referenced by CLAM::Hidden::ScopedTryLock< TryMutexType >::ScopedTryLock().
bool CLAM::Hidden::ScopedTryLock< TryMutexType >::Locked | ( | ) | const [inline] |
Definition at line 179 of file Lock.hxx.
Referenced by CLAM::PortMonitor< TheDataType, ThePortType >::Do().
CLAM::Hidden::ScopedTryLock< TryMutexType >::operator const void * | ( | ) | const [inline] |
bool CLAM::Hidden::ScopedTryLock< TryMutexType >::TryLock | ( | ) | [inline] |
Definition at line 161 of file Lock.hxx.
Referenced by CLAM::Hidden::ScopedTryLock< TryMutexType >::ScopedTryLock().
void CLAM::Hidden::ScopedTryLock< TryMutexType >::Unlock | ( | ) | [inline] |
Definition at line 169 of file Lock.hxx.
Referenced by CLAM::Hidden::ScopedTryLock< TryMutexType >::~ScopedTryLock().
friend class CLAM::Condition [friend] |