ADTF  3.14.3
object_ptr_const_conversion< T >

Enables implicit conversion operators to iobject_ptr<const T> More...

Inheritance diagram for object_ptr_const_conversion< T >:
[legend]

Public Member Functions

 __attribute__ ((noinline)) virtual operator const iobject_ptr< const T > &() const
 Enable implicit conversion to const value type for pointer-like behavior. More...
 
- Public Member Functions inherited from iobject_ptr< T >
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

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

Additional Inherited Members

- Public Types inherited from iobject_ptr< T >
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.
 

Detailed Description

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

Enables implicit conversion operators to iobject_ptr<const T>

Definition at line 19 of file object_ptr.h.

Member Function Documentation

◆ __attribute__()

__attribute__ ( (noinline)  ) const &
inline

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

Returns
Reference to iobject_ptr containing const value type

Definition at line 34 of file object_ptr.h.


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Thu Jun 9 2022 by doxygen 1.9.1)