#include <Lock.hxx>
Public Types | |
typedef TimedMutexType | mutex_type |
Public Member Functions | |
ScopedTimedLock (TimedMutexType &mx, const xtime &xt) | |
ScopedTimedLock (TimedMutexType &mx, bool initially_locked) | |
~ScopedTimedLock () | |
void | Lock () |
bool | TimedLock (const xtime &xt) |
void | Unlock () |
bool | Locked () const |
operator const void * () const | |
Friends | |
class | CLAM::Condition |
Definition at line 198 of file Lock.hxx.
typedef TimedMutexType CLAM::Hidden::ScopedTimedLock< TimedMutexType >::mutex_type |
CLAM::Hidden::ScopedTimedLock< TimedMutexType >::ScopedTimedLock | ( | TimedMutexType & | mx, | |
const xtime & | xt | |||
) | [inline] |
Definition at line 203 of file Lock.hxx.
References CLAM::Hidden::ScopedTimedLock< TimedMutexType >::TimedLock().
CLAM::Hidden::ScopedTimedLock< TimedMutexType >::ScopedTimedLock | ( | TimedMutexType & | mx, | |
bool | initially_locked | |||
) | [inline] |
Definition at line 210 of file Lock.hxx.
References CLAM::Hidden::ScopedTimedLock< TimedMutexType >::Lock().
CLAM::Hidden::ScopedTimedLock< TimedMutexType >::~ScopedTimedLock | ( | ) | [inline] |
Definition at line 217 of file Lock.hxx.
References CLAM::Hidden::ScopedTimedLock< TimedMutexType >::Unlock().
void CLAM::Hidden::ScopedTimedLock< TimedMutexType >::Lock | ( | ) | [inline] |
Definition at line 223 of file Lock.hxx.
Referenced by CLAM::Hidden::ScopedTimedLock< TimedMutexType >::ScopedTimedLock().
bool CLAM::Hidden::ScopedTimedLock< TimedMutexType >::Locked | ( | ) | const [inline] |
CLAM::Hidden::ScopedTimedLock< TimedMutexType >::operator const void * | ( | ) | const [inline] |
bool CLAM::Hidden::ScopedTimedLock< TimedMutexType >::TimedLock | ( | const xtime & | xt | ) | [inline] |
Definition at line 233 of file Lock.hxx.
Referenced by CLAM::Hidden::ScopedTimedLock< TimedMutexType >::ScopedTimedLock().
void CLAM::Hidden::ScopedTimedLock< TimedMutexType >::Unlock | ( | ) | [inline] |
Definition at line 240 of file Lock.hxx.
Referenced by CLAM::Hidden::ScopedTimedLock< TimedMutexType >::~ScopedTimedLock().
friend class CLAM::Condition [friend] |