ADTF  3.18.2
data_binding_intf.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include "inpin_intf.h"
9 #include "outpin_intf.h"
10 #include <adtfucom3/adtf_ucom3.h>
11 
12 namespace adtf
13 {
14 namespace streaming
15 {
16 namespace ant
17 {
24  {
25  public:
27  ADTF_IID(IDataBinding, "data_binding.ant.streaming.adtf.iid");
28 
29  protected:
31  ~IDataBinding() = default;
32 
33  public:
42  virtual tResult GetPins(ucom::ant::iobject_list<IPin>& lstPins) const = 0;
43 
56  virtual tResult FindPin(const char* strName, ucom::ant::iobject_ptr<ucom::ant::IObject>& pPin) const = 0;
57 
58  };
59 
65  {
66  public:
68  ADTF_IID(IDynamicDataBinding, "dynamic_data_binding.ant.streaming.adtf.iid");
69 
70  protected:
72  ~IDynamicDataBinding() = default;
73 
74  public:
91  virtual tResult RequestPin(const char* strName,
93  ucom::ant::iobject_ptr<IInPin>& pInPin) = 0;
109  virtual tResult RequestPin(const char* strName,
111  ucom::ant::iobject_ptr<IOutPin>& pOutPin) = 0;
112 
113  };
114 
115 } //namespace streaming
116 
118 using ant::IDataBinding;
120 
121 } //namespace ant
122 
123 } // namespace adtf
Copyright © Audi Electronics Venture GmbH.
The IDataBinding interfaces provides methods for retrive information of the Pins published.
~IDataBinding()=default
not destructable
ADTF_IID(IDataBinding, "data_binding.ant.streaming.adtf.iid")
defintion of interface id
virtual tResult FindPin(const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pPin) const =0
Find a Pin with the name of strName (only const access)
virtual tResult GetPins(ucom::ant::iobject_list< IPin > &lstPins) const =0
Returns the current Pins (only const access).
This interface extends the IDatabinding Interface to provide dynamic pin creation while connection ar...
~IDynamicDataBinding()=default
not destructable
virtual tResult RequestPin(const char *strName, const ucom::ant::iobject_ptr< const IStreamType > &pType, ucom::ant::iobject_ptr< IOutPin > &pOutPin)=0
Request a out pin which can not be find via IDataBinding::FindPin.
ADTF_IID(IDynamicDataBinding, "dynamic_data_binding.ant.streaming.adtf.iid")
defintion of interface id
virtual tResult RequestPin(const char *strName, const ucom::ant::iobject_ptr< const IStreamType > &pType, ucom::ant::iobject_ptr< IInPin > &pInPin)=0
Request a in pin which can not be find via IDataBinding::FindPin.
Base object pointer to realize binary compatible reference counting in interface methods.
Copyright © Audi Electronics Venture GmbH.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.