ADTF
|
Implementation for a shared lock guard. More...
Public Member Functions | |
object_ptr_shared_locked ()=default | |
CTOR. | |
object_ptr_shared_locked (object_ptr_shared_locked &&o_oOther)=default | |
move-CTOR More... | |
~object_ptr_shared_locked () | |
DTOR. | |
object_ptr_shared_locked & | operator= (object_ptr_shared_locked &&o_oOther) |
move-assignment-operator More... | |
object_ptr_shared_locked & | operator= (std::nullptr_t) |
null assignment-operator to Reset the value | |
virtual T * | Get () const |
returns the value as pointer More... | |
virtual tResult | Reset (const iobject_ptr< T > &i_oOther) |
Sets the value as pointer. More... | |
Public Member Functions inherited from object_ptr_locked_common< T > | |
T * | operator-> () const |
arrow access | |
T & | operator* () const |
operator bool () const | |
Protected Member Functions | |
void | UnlockObject () override |
unlocks the object | |
Protected Member Functions inherited from 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 |
Private Types | |
typedef detail::object_ptr_locked_common< T > | base_type |
Additional Inherited Members | |
Protected Attributes inherited from object_ptr_locked_common< T > | |
object_ptr< T > | m_pObjectPtr |
Implementation for a shared lock guard.
This template can be used with any implementation for ISharedLockedObject.
T | Type for a ISharedLockedObject derived interface. |
Definition at line 270 of file lockedobject_intf.h.
|
default |
move-CTOR
o_oOther | [in] ... |
|
inlinevirtual |
returns the value as pointer
Implements iobject_ptr_shared_locked< T >.
Definition at line 306 of file lockedobject_intf.h.
|
inline |
move-assignment-operator
o_oOther | [in] ... |
Definition at line 293 of file lockedobject_intf.h.
|
inlinevirtual |
Sets the value as pointer.
i_oOther | [in] Reference to the locked object. |
Implements iobject_ptr_shared_locked< T >.
Definition at line 311 of file lockedobject_intf.h.