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