ADTF
IInterfaceBindingabstract

The IInterfaceBinding provides an interface to implement and access a common dynamic binding object registry. More...

Inheritance diagram for IInterfaceBinding:
[legend]

Public Types

template<typename T >
using iobject_list = adtf::ucom::ant::iobject_list< T >
 used type for iobject_list
 
template<typename T >
using iobject_ptr = adtf::ucom::ant::iobject_ptr< T >
 used type for iobject_ptr
 

Public Member Functions

 ADTF_IID (IInterfaceBinding, "interface_binding.ant.streaming.adtf.iid")
 definition of interface id
 
virtual tResult GetBindingObjects (iobject_list< IBindingObject > &lstBindingObject)=0
 Return a list of all Binding Objects on lstBindingObject. More...
 
virtual tResult GetBindingObjects (iobject_list< const IBindingObject > &lstBindingObject) const =0
 Return a list of all Binding Objects on lstBindingObject. More...
 
virtual tResult FindBindingObject (const char *strName, iobject_ptr< adtf::ucom::ant::IObject > &pIBindingObject)=0
 This Function will search a binding object with the given strName and return it on pIBindingObject. More...
 
virtual tResult FindBindingObject (const char *strName, iobject_ptr< const adtf::ucom::ant::IObject > &pIBindingObject) const =0
 This Function will search a binding object with the given strName and return it on pIBindingObject. More...
 

Protected Member Functions

 ~IInterfaceBinding ()=default
 not destructable
 

Detailed Description

The IInterfaceBinding provides an interface to implement and access a common dynamic binding object registry.

Default implementation is given with cDynamicBinding

Definition at line 26 of file interface_binding_intf.h.

Member Function Documentation

◆ FindBindingObject() [1/2]

virtual tResult FindBindingObject ( const char *  strName,
iobject_ptr< adtf::ucom::ant::IObject > &  pIBindingObject 
)
pure virtual

This Function will search a binding object with the given strName and return it on pIBindingObject.

Parameters
[in]strNameName to search for. ( see IBindingObject::GetName ).
[out]pIBindingObjectobject refernce to the binding object if succeeded.
Returns
Standard Result Code.

◆ FindBindingObject() [2/2]

virtual tResult FindBindingObject ( const char *  strName,
iobject_ptr< const adtf::ucom::ant::IObject > &  pIBindingObject 
) const
pure virtual

This Function will search a binding object with the given strName and return it on pIBindingObject.

Parameters
[in]strNameName to search for. ( see IBindingObject::GetName ).
[out]pIBindingObjectobject refernce to the binding object if succeeded.
Returns
Standard Result Code.

◆ GetBindingObjects() [1/2]

virtual tResult GetBindingObjects ( iobject_list< const IBindingObject > &  lstBindingObject) const
pure virtual

Return a list of all Binding Objects on lstBindingObject.

(const access)

Parameters
[out]lstBindingObjectobject list to push the binding objects to.
Returns
Standard Result Code.

◆ GetBindingObjects() [2/2]

virtual tResult GetBindingObjects ( iobject_list< IBindingObject > &  lstBindingObject)
pure virtual

Return a list of all Binding Objects on lstBindingObject.

Parameters
[out]lstBindingObjectobject list to push the binding objects to.
Returns
Standard Result Code.

Referenced by adtf::streaming::hollow::get_interface_binding_objects().