Public Types | |
typedef TLockableObjectOwner < TReentrantLockableObject < Base > > | Owner |
typedef TLockableObjectConditionalOwner < TReentrantLockableObject < Base > > | ConditionalOwner |
typedef TReentrantLockableObjectPotentialOwner < TReentrantLockableObject < Base > > | PotentialOwner |
Public Member Functions | |
TReentrantLockableObject () | |
Creates a lockable object. | |
TReentrantLockableObject (const TReentrantLockableObject &rhs) | |
virtual | ~TReentrantLockableObject () |
TReentrantLockableObject & | operator= (const TReentrantLockableObject &rhs) |
virtual bool | TryLock () |
virtual void | Lock () |
virtual void | Unlock () |
Protected Attributes | |
CRITICAL_SECTION | m_lock |
typedef TLockableObjectOwner<TReentrantLockableObject<Base> > Owner |
TReentrantLockableObject | ( | ) | [inline] |
Creates a lockable object.
TReentrantLockableObject | ( | const TReentrantLockableObject< Base > & | rhs | ) |
virtual ~TReentrantLockableObject | ( | ) | [inline, virtual] |
TReentrantLockableObject& operator= | ( | const TReentrantLockableObject< Base > & | rhs | ) |
virtual bool TryLock | ( | ) | [inline, virtual] |
virtual void Lock | ( | ) | [inline, virtual] |
virtual void Unlock | ( | ) | [inline, virtual] |
CRITICAL_SECTION m_lock [protected] |