ADTF
Loading...
Searching...
No Matches
adtf::streaming::ant::data_binding< Interface > Class Template Reference

#include <data_binding.h>

Inherits adtf::ucom::catwo::object< IDataBinding, IDataBinding >, and adtf::streaming::ant::cDataBinding.

Public Member Functions

tResult GetPins (ucom::ant::iobject_list< IPin > &lstPins) const override
 
tResult FindPin (const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pPin) const override
 
- Public Member Functions inherited from adtf::ucom::catwo::object< IDataBinding, IDataBinding >
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
- Public Member Functions inherited from adtf::ucom::ant::IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 
- Public Member Functions inherited from adtf::streaming::ant::cDataBinding
tResult GetPins (ucom::ant::iobject_list< IPin > &lstPins) const
 private d-pointer
 
tResult FindPin (const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pPin) const
 
virtual tResult RegisterPin (const ucom::ant::iobject_ptr< IPin > &pIPin)
 
tResult RegisterPin (const ucom::ant::iobject_ptr< IInPin > &pIInPin)
 
tResult RegisterPin (const ucom::ant::iobject_ptr< IOutPin > &pIOutPin)
 
virtual tResult UnregisterPin (const ucom::ant::iobject_ptr< IPin > &pIPin)
 
tResult ReleasePins ()
 
virtual tResult ActivatePins ()
 
virtual tResult DeactivatePins ()
 
tResult Disconnect ()
 

Additional Inherited Members

- Protected Member Functions inherited from adtf::ucom::ant::IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 
- Protected Member Functions inherited from adtf::streaming::ant::cDataBinding
 cDataBinding ()
 CTOR.
 
virtual ~cDataBinding ()
 DTOR.
 

Detailed Description

template<typename Interface = IDataBinding>
class adtf::streaming::ant::data_binding< Interface >

Template class for the default implementation of IDataBinding.

Template Parameters
InterfaceThe interface derived from IDataBinding can be used as interface parameter to prevent multiple inheritance.

Member Function Documentation

◆ FindPin()

template<typename Interface = IDataBinding>
tResult adtf::streaming::ant::data_binding< Interface >::FindPin ( const char * strName,
ucom::ant::iobject_ptr< ucom::ant::IObject > & pPin ) const
inlineoverride

Find a Pin with the name of strName (only const access)

Parameters
strName[in] Pointer to a string that identifies the pin that searches for. Call the IPin::GetName method to retrieve a pin's identifier.
pPin[out] contains the pin if found.
Returns
Returns a standard result code.
Return values
ERR_NOT_FOUNDPin with the given name strName not found.

◆ GetPins()

template<typename Interface = IDataBinding>
tResult adtf::streaming::ant::data_binding< Interface >::GetPins ( ucom::ant::iobject_list< IPin > & lstPins) const
inlineoverride

Returns the current Pins (only const access).

Parameters
[out]lstPinsobject_list where to push the pins to.
Returns
Returns a standard result code.

The documentation for this class was generated from the following file: