|
ADTF
|
#include <lockedobject_intf.h>
Inherits adtf::ucom::ant::iobject_ptr_locked< T >, and adtf::ucom::ant::detail::object_ptr_locked_common< T >.
Public Member Functions | |
| object_ptr_locked ()=default | |
| CTOR. | |
| object_ptr_locked (object_ptr_locked &&o_oOther)=default | |
| ~object_ptr_locked () | |
| DTOR. | |
| object_ptr_locked & | operator= (object_ptr_locked &&o_oOther) |
| object_ptr_locked & | operator= (std::nullptr_t) |
| null assignment-operator to Reset the value | |
| virtual T * | Get () const override |
| virtual tResult | Reset (const iobject_ptr< T > &i_oOther) override |
Public Member Functions inherited from adtf::ucom::ant::detail::object_ptr_locked_common< T > | |
| T * | operator-> () const |
| arrow access | |
| T & | operator* () const |
| operator bool () const | |
Protected Member Functions | |
| void | UnlockObject () override |
| unlock the object | |
Protected Member Functions inherited from adtf::ucom::ant::detail::object_ptr_locked_common< T > | |
| object_ptr_locked_common (object_ptr_locked_common &&o_oOther) | |
| tResult | Reset (const iobject_ptr< T > &i_oOther) |
| void | Release () |
| void | Swap (object_ptr_locked_common &i_oOther) |
| T * | GetPtr () const |
Additional Inherited Members | |
Protected Attributes inherited from adtf::ucom::ant::detail::object_ptr_locked_common< T > | |
| object_ptr< T > | m_pObjectPtr |
Implementation for a exclusive lock guard.
This template can be used with any implementation for ILockedObject.
| T | Type for a ILockedObject derived interface. |
|
default |
move-CTOR
| o_oOther | [in] ... |
|
inlineoverridevirtual |
returns the value as pointer
Implements adtf::ucom::ant::iobject_ptr_locked< T >.
|
inline |
move-assignment-operator
| o_oOther | [in] ... |
|
inlineoverridevirtual |
Sets the value as pointer
| i_oOther | [in] Reference to the locked object. |
Implements adtf::ucom::ant::iobject_ptr_locked< T >.
|
inlineoverrideprotectedvirtual |
unlock the object
Implements adtf::ucom::ant::detail::object_ptr_locked_common< T >.