ADTF  3.18.2
bindingproxyinport.h
Go to the documentation of this file.
1 
7 #pragma once
10 
11 namespace adtf
12 {
13 namespace streaming
14 {
15 namespace catwo
16 {
24  public ucom::catwo::object<IBindingProxyInPort,
25  binding_proxy<adtf::ucom::ant::IObject, false>>
26  {
27  public:
30  "default_sample_stream_in_port.streaming.adtf.cid",
31  "Sample Stream Inport");
32 
33  protected:
42 
44  cBindingProxyInPort() = default;
45 
46  public:
47 
49  cBindingProxyInPort(const char* strName, const char* strPortID)
50  {
52  m_strPortID = strPortID;
53  }
55  virtual ~cBindingProxyInPort() = default;
56 
57  public:
58  tResult GetPortID(adtf::base::ant::IString&& strID)
59  {
60  return strID.Set(m_strPortID);
61  }
62  private:
63  adtf_util::cString m_strPortID;
64  };
65 
66 
67 } //namespace ant
69 using catwo::cBindingProxyInPort;
70 } //namespace streaming
71 } //namespace adtf
72 
Copyright © Audi Electronics Venture GmbH.
The IString interface provides methods for getting and setting strings through abstract interfaces.
Definition: string_intf.h:28
tResult SetName(const char *strName) override
Sets the Name of the object.
The Default implementation of the IBindingProxy interface.
cBindingProxyInPort & operator=(const cBindingProxyInPort &)=delete
deleted copy operator
cBindingProxyInPort(const char *strName, const char *strPortID)
CTOR initializes the name of the stream.
cBindingProxyInPort(const cBindingProxyInPort &)=delete
deleted copy CTOR
ADTF_CLASS_ID_NAME(cBindingProxyInPort, "default_sample_stream_in_port.streaming.adtf.cid", "Sample Stream Inport")
Implements adtf::ucom::IClassInfo.
cBindingProxyInPort(cBindingProxyInPort &&)=delete
deleted move CTOR
cBindingProxyInPort & operator=(cBindingProxyInPort &&)=delete
deleted move operator
Use this template if you want to implement an ucom::ant::IObject based Interface and/or subclass an e...
Definition: object.h:379
Copyright © Audi Electronics Venture GmbH.
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
Definition: string.h:2778
Namespace for entire ADTF SDK.