ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
iobject_ptr_base< T >abstract

Base class for iobject_ptr<T> defining their commonly used interface methods. More...

#include <object_ptr_intf.h>

Inheritance diagram for iobject_ptr_base< T >:
[legend]

Public Types

typedef T element_type
 Contained type to manage an object of.
 

Public Member Functions

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_base ()=default
 Destructor.
 

Detailed Description

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

Base class for iobject_ptr<T> defining their commonly used interface methods.

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

Definition at line 59 of file object_ptr_intf.h.

Member Typedef Documentation

◆ element_type

template<typename T>
typedef T element_type

Contained type to manage an object of.

Definition at line 62 of file object_ptr_intf.h.

Member Function Documentation

◆ Get()

template<typename T>
virtual T * Get ( ) const
pure virtual

Get raw pointer to shared object.

Returns
Raw pointer to shared object

Implemented in object_ptr_delegate_base< T, StorageType >, object_ptr_delegate_base< const IObject, StorageType >, object_ptr_delegate_base< IObject, StorageType >, and object_ptr_delegate_base< IObject, StorageType >.

Referenced by binding_proxy< INTERFACE, INTERFACE_CHECK >::binding_proxy(), graph< INTERFACE >::AddNamedGraphObject(), port_router< T, U >::AddTo(), port_router< T, U >::ConnectRouting(), port_router< T, U >::DisconnectRouting(), adtf::streaming::hollow::get_sample_substream_id(), cSampleCodecFactory::MakeCodecFor(), cSampleCodecFactory::MakeCodecFor(), cSampleCodecFactory::MakeCodecFor(), cSampleCodecFactory::MakeDecoderFor(), cSampleCodecFactory::MakeDecoderFor(), cSampleCodecFactory::MakeDecoderFor(), cSampleCodecFactory::MakeStaticCodecFor(), cSampleCodecFactory::MakeStaticCodecFor(), cSampleCodecFactory::MakeStaticCodecFor(), cSampleCodecFactory::MakeStaticDecoderFor(), cSampleCodecFactory::MakeStaticDecoderFor(), cSampleCodecFactory::MakeStaticDecoderFor(), adtf::ucom::ant::operator!=(), cSampleQueueCompareByTime::operator()(), adtf::ucom::ant::operator<(), adtf::ucom::ant::operator<(), adtf::ucom::ant::operator<(), adtf::ucom::ant::operator==(), adtf::ucom::ant::operator==(), adtf::ucom::ant::operator==(), trigger_pipe_source< INTERFACE >::RegisterSubItem(), adtf::ucom::ant::reset_object_ptr(), port_router< T, U >::ResetFrom(), adtf::streaming::hollow::set_sample_substream_id(), binding_proxy< INTERFACE, INTERFACE_CHECK >::SetBindingType(), and adtf::ucom::penguin::ucom_object_ptr_const_cast().

◆ operator->()

template<typename T>
virtual T * operator-> ( ) const
pure virtual

◆ Reset()

template<typename T>
virtual tResult Reset ( const iobject_ptr< T > & i_oOther)
pure virtual