|
ADTF
|
Base object pointer to realize binary compatible reference counting in interface methods. More...
#include <object_ptr_intf.h>
Inherits adtf::ucom::ant::iobject_ptr_base< T >.
Inherited by adtf::ucom::ant::detail::object_ptr_delegate_base< IObject, StorageType >, and adtf::ucom::ant::detail::object_ptr_delegate_base< T, StorageType >.
Public Types | |
| typedef IObject | object_type |
| Provided for single point of const correct type access. | |
Public Types inherited from adtf::ucom::ant::iobject_ptr_base< T > | |
| 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. | |
Public Member Functions inherited from adtf::ucom::ant::iobject_ptr_base< T > | |
| 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 |
| T & | operator* () const noexcept |
| Operator* to dereference the stored pointer. | |
Protected Member Functions | |
| ~iobject_ptr ()=default | |
| Destructor. | |
Protected Member Functions inherited from adtf::ucom::ant::iobject_ptr_base< T > | |
| ~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 |
|
pure virtual |
Enable implicit conversion to const value type for pointer-like behavior.
iobject_ptr containing const value type Implemented in adtf::ucom::ant::detail::object_ptr_delegate< T, StorageType >.