#include <TCMTLockable.h>
Classes | |
class | Locker |
Helper class for locking the whole class This nested class is used for locking and unlocking the given object by the use of the constructor/destructor of the object. More... | |
Public Member Functions | |
bool | Lock () |
Lock the class. | |
bool | UnLock () |
UnLock the class. | |
Static Private Attributes | |
static MutexPtr | m_mutex = Factory::CreateMutex() |
Friends | |
class | Locker |
Definition at line 97 of file TCMTLockable.h.
bool TC::MT::ClassLevelLockable< CLASS_TO_LOCK >::Lock | ( | ) | [inline] |
Lock the class.
Definition at line 119 of file TCMTLockable.h.
References TC::MT::ClassLevelLockable< CLASS_TO_LOCK >::m_mutex.
bool TC::MT::ClassLevelLockable< CLASS_TO_LOCK >::UnLock | ( | ) | [inline] |
UnLock the class.
Definition at line 125 of file TCMTLockable.h.
References TC::MT::ClassLevelLockable< CLASS_TO_LOCK >::m_mutex.
friend class Locker [friend] |
Definition at line 133 of file TCMTLockable.h.