|
ADTF
|
Alias always bringing the latest versions into scope. More...
#include <lockedobject_intf.h>
Inherits adtf::ucom::ant::IObject.
Inherited by adtf::ucom::ant::ISharedLockedObject.
Public Member Functions | |
| ADTF_IID (ILockedObject, "lockedobject.ant.ucom.adtf.iid") | |
| virtual tResult | Lock () const=0 |
| virtual tResult | Unlock () const=0 |
Public Member Functions inherited from adtf::ucom::ant::IObject | |
| ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Protected Member Functions | |
| ~ILockedObject ()=default | |
| Protected destructor --> Only the final implementation can be destroyed! | |
Protected Member Functions inherited from adtf::ucom::ant::IObject | |
| ~IObject ()=default | |
| Protected destructor --> Only the final implementation can be destroyed! | |
Alias always bringing the latest versions into scope.
The ILockedObject interface defines exclusive locking of an object.
| adtf::ucom::ant::ILockedObject::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. |