#include <TCMTLock.h>
Public Member Functions | |
LockerPtr (T critical) | |
Constructs a Locker object. | |
~LockerPtr () | |
Destructs the Locker object and unlocks the critical section associated with this object. | |
Private Attributes | |
T | m_critical |
Pointer to the critical section used by this object. |
Definition at line 129 of file TCMTLock.h.
TC::MT::LockerPtr< T >::LockerPtr | ( | T | critical | ) | [inline] |
Constructs a Locker object.
The critical object is automatically locked.
critical | The reference of the object locked by this constructor. |
Definition at line 138 of file TCMTLock.h.
References TC::MT::LockerPtr< T >::m_critical.
TC::MT::LockerPtr< T >::~LockerPtr | ( | ) | [inline] |
Destructs the Locker object and unlocks the critical section associated with this object.
Definition at line 148 of file TCMTLock.h.
References TC::MT::LockerPtr< T >::m_critical.
T TC::MT::LockerPtr< T >::m_critical [private] |
Pointer to the critical section used by this object.
Definition at line 155 of file TCMTLock.h.
Referenced by TC::MT::LockerPtr< T >::LockerPtr(), and TC::MT::LockerPtr< T >::~LockerPtr().