ADTF
|
The ILockedObject interface defines exclusive locking of an object. More...
Public Member Functions | |
ADTF_IID (ILockedObject, "lockedobject.ant.ucom.adtf.iid") | |
Marks the ILockedObject to be castable with the ucom_cast<> More... | |
virtual tResult | Lock () const =0 |
Locks the object for exclusive use. More... | |
virtual tResult | Unlock () const =0 |
Unlocks the object for exclusive use. More... | |
Public Member Functions inherited from IObject | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Protected Member Functions | |
~ILockedObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
The ILockedObject interface defines exclusive locking of an object.
Definition at line 23 of file lockedobject_intf.h.
ADTF_IID | ( | ILockedObject | , |
"lockedobject.ant.ucom.adtf.iid" | |||
) |
Marks the ILockedObject
to be castable with the ucom_cast<>
|
pure virtual |
Locks the object for exclusive use.
For your own convinience use object_ptr_locked as lock guard!
ERR_NOERROR | succeeded lock. DO NOT Forget to unlock! |
|
pure virtual |
Unlocks the object for exclusive use.
For your own convinience use object_ptr_locked as lock guard!
ERR_NOERROR | succeeded unlock. |
Referenced by object_ptr_locked< T >::UnlockObject().