Base object pointer to realize binary compatible reference counting in interface methods. More...
#include <object_ptr_intf.h>
Public Types | |
typedef IObject | object_type |
Provided for single point of const correct type access. | |
![]() | |
typedef T | element_type |
Contained type to manage an object of. | |
Public Member Functions | |
virtual | operator const iobject_ptr< const T > & () const =0 |
Enable implicit conversion to const value type for pointer-like behavior. | |
![]() | |
virtual T * | Get () const =0 |
Get raw pointer to shared object. | |
virtual tResult | Reset (const iobject_ptr< T > &i_oOther)=0 |
Reset this object_ptr<> with the content of another iobject_ptr<> | |
virtual T * | operator-> () const =0 |
Operator-> overload to treat object_ptr<> types like real pointers. | |
virtual detail::iobject_ptr_ref< size_t > * | GetObjPtrRef () const =0 |
Protected Member Functions | |
~iobject_ptr ()=default | |
Destructor. | |
![]() | |
~iobject_ptr_base ()=default | |
Destructor. | |
Base object pointer to realize binary compatible reference counting in interface methods.
T | Type of the managed resource. Must be derived from IObject |
Definition at line 102 of file object_ptr_intf.h.
typedef IObject object_type |
Provided for single point of const correct type access.
Definition at line 109 of file object_ptr_intf.h.
|
pure virtual |
Enable implicit conversion to const value type for pointer-like behavior.
iobject_ptr
containing const value type Implemented in object_ptr_delegate< T, StorageType >.