#include <lockedobject_intf.h>
Inherits adtf::ucom::ant::IObject.
Inherited by adtf::ucom::ant::ISharedLockedObject.
|
|
| ~ILockedObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
|
| ~IObject ()=default |
| | Protected destructor --> Only the final implementation can be destroyed!
|
| |
The ILockedObject interface defines exclusive locking of an object.
◆ ADTF_IID()
| adtf::ucom::ant::ILockedObject::ADTF_IID |
( |
ILockedObject | , |
|
|
"lockedobject.ant.ucom.adtf.iid" | ) |
◆ Lock()
| virtual tResult adtf::ucom::ant::ILockedObject::Lock |
( |
| ) |
const |
|
pure virtual |
Locks the object for exclusive use. For your own convinience use object_ptr_locked as lock guard!
- Return values
-
| ERR_NOERROR | succeeded lock. DO NOT Forget to unlock! |
◆ Unlock()
| virtual tResult adtf::ucom::ant::ILockedObject::Unlock |
( |
| ) |
const |
|
pure virtual |
Unlocks the object for exclusive use. For your own convinience use object_ptr_locked as lock guard!
- Return values
-
| ERR_NOERROR | succeeded unlock. |
The documentation for this class was generated from the following file: