ADTF
|
Base class for iobject_ptr<T> defining their commonly used interface methods. More...
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. 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_base ()=default | |
Destructor. | |
Private Member Functions | |
virtual detail::iobject_ptr_ref< size_t > * | GetObjPtrRef () const =0 |
Get the reference counter. More... | |
Base class for iobject_ptr<T> defining their commonly used interface methods.
T | Type of the managed resource. Must be derived from IObject |
Definition at line 22 of file object_ptr_intf.h.
|
pure virtual |
Get raw pointer to shared object.
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::MakeDecoderFor(), cSampleCodecFactory::MakeStaticCodecFor(), cSampleCodecFactory::MakeStaticDecoderFor(), adtf::ucom::ant::operator!=(), cSampleQueueCompareByTime::operator()(), adtf::ucom::ant::operator<(), weak_object_ptr< T >::operator=(), adtf::ucom::ant::operator==(), trigger_pipe_source< INTERFACE >::RegisterSubItem(), weak_object_ptr< T >::Reset(), port_router< T, U >::ResetFrom(), adtf::streaming::hollow::set_sample_substream_id(), binding_proxy< INTERFACE, INTERFACE_CHECK >::SetBindingType(), adtf::ucom::ant::ucom_object_ptr_cast(), and adtf::ucom::penguin::ucom_object_ptr_const_cast().
|
privatepure virtual |
Get the reference counter.
Referenced by weak_object_ptr< T >::operator=().
|
pure virtual |
Operator-> overload to treat object_ptr<> types like real pointers.
|
pure virtual |
Reset this object_ptr<> with the content of another iobject_ptr<>
[in] | i_oOther | Contains the shared object to reset this type with |
ERR_NOERROR | Everything went fine |
ERR_NO_INTERFACE | Managed resource owned by i_oOther does not expose interface type T . *this is reset to nullptr |
Referenced by adtf::streaming::devil::add_binding_proxy(), adtf::streaming::devil::add_data_in_port(), adtf::streaming::devil::add_data_out_port(), adtf::streaming::devil::add_graph_object(), adtf::streaming::devil::add_sample_stream_in_port(), adtf::streaming::devil::add_sample_stream_out_port(), cLastSampleReader::GetLastSample(), cSampleReader::GetLastType(), cStreamItem::GetObject(), configuration< Interface >::GetProperties(), cStreamItem::GetSample(), cSampleReader::GetSampleInStream(), adtf::streaming::ant::operator>>(), and adtf::ucom::ant::reset_object_ptr().