Public Types | |
typedef TLockableObjectOwner < IReentrantLockableObject > | Owner |
typedef TLockableObjectConditionalOwner < IReentrantLockableObject > | ConditionalOwner |
typedef TReentrantLockableObjectPotentialOwner < IReentrantLockableObject > | PotentialOwner |
Public Member Functions | |
~IReentrantLockableObject () override | |
Instances of this interface can be deleted by their users. | |
virtual bool | TryLock ()=0 |
Try to lock the lockable object, returns true if successful and false if the lock is already locked. | |
virtual void | Lock ()=0 |
Lock the lockable object. | |
virtual void | Unlock ()=0 |
Unlock the lockable object. |
~IReentrantLockableObject | ( | ) | [override] |
Instances of this interface can be deleted by their users.
virtual bool TryLock | ( | ) | [pure virtual, inherited] |
Try to lock the lockable object, returns true if successful and false if the lock is already locked.
Implemented in CMutex, TLockableObject< JetByteTools::Core::ILockableObject >, TReentrantLockableObject< JetByteTools::Core::IReentrantLockableObject >, TLockableObject< JetByteTools::Core::ILockableObject >, and TReentrantLockableObject< JetByteTools::Core::IReentrantLockableObject >.
virtual void Lock | ( | ) | [pure virtual, inherited] |
Lock the lockable object.
Implemented in CMutex, TLockableObject< JetByteTools::Core::ILockableObject >, TReentrantLockableObject< JetByteTools::Core::IReentrantLockableObject >, TLockableObject< JetByteTools::Core::ILockableObject >, and TReentrantLockableObject< JetByteTools::Core::IReentrantLockableObject >.
virtual void Unlock | ( | ) | [pure virtual, inherited] |
Unlock the lockable object.
Implemented in CMutex, TLockableObject< JetByteTools::Core::ILockableObject >, TReentrantLockableObject< JetByteTools::Core::IReentrantLockableObject >, TLockableObject< JetByteTools::Core::ILockableObject >, and TReentrantLockableObject< JetByteTools::Core::IReentrantLockableObject >.