ADTF  3.13.2
iobject_ptr< T >abstract

Base object pointer to realize binary compatible reference counting in interface methods. More...

Inheritance diagram for iobject_ptr< T >:
[legend]

Public Types

typedef IObject object_type
 Provided for single point of const correct type access.
 
- Public Types inherited from 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. More...
 
- Public Member Functions inherited from iobject_ptr_base< T >
virtual T * Get () const =0
 Get raw pointer to shared object. More...
 
virtual tResult Reset (const iobject_ptr< T > &i_oOther)=0
 Reset this object_ptr<> with the content of another iobject_ptr<> More...
 
virtual T * operator-> () const =0
 Operator-> overload to treat object_ptr<> types like real pointers. More...
 

Protected Member Functions

 ~iobject_ptr ()=default
 Destructor.
 
- Protected Member Functions inherited from iobject_ptr_base< T >
 ~iobject_ptr_base ()=default
 Destructor.
 

Detailed Description

template<typename T>
class adtf::ucom::ant::iobject_ptr< T >

Base object pointer to realize binary compatible reference counting in interface methods.

Template Parameters
TType of the managed resource. Must be derived from IObject

Definition at line 73 of file object_ptr_intf.h.

Member Function Documentation

◆ operator const iobject_ptr< const T > &()

virtual operator const iobject_ptr< const T > & ( ) const
pure virtual

Enable implicit conversion to const value type for pointer-like behavior.

Returns
Reference to iobject_ptr containing const value type

Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Tue Nov 16 2021 by doxygen 1.8.14)