ADTF  3.18.2
bindingproxyoutport.h
Go to the documentation of this file.
1 
7 #pragma once
10 
11 namespace adtf
12 {
13 namespace streaming
14 {
15 namespace ant
16 {
24  public ucom::catwo::object<IBindingProxyOutPort,
25  binding_proxy<adtf::ucom::ant::IObject, false>>
26  {
27  public:
30  "default_sample_stream_out_port.streaming.adtf.cid",
31  "Sample Stream Outport");
32 
33  protected:
42 
44  cBindingProxyOutPort() = default;
45  public:
46 
48  cBindingProxyOutPort(const char* strName, const char* strPortID)
49  {
51  m_strPortID = strPortID;
52  }
54  virtual ~cBindingProxyOutPort() = default;
55 
56  public:
57  tResult GetPortID(adtf::base::ant::IString&& strID)
58  {
59  return strID.Set(m_strPortID);
60  }
61  private:
62  adtf_util::cString m_strPortID;
63  };
64 
65 
66 } //namespace ant
68 using ant::cBindingProxyOutPort;
69 } //namespace streaming
70 } //namespace adtf
Copyright © Audi Electronics Venture GmbH.
The IString interface provides methods for getting and setting strings through abstract interfaces.
Definition: string_intf.h:28
The Default implementation of the IBindingProxy interface.
cBindingProxyOutPort(cBindingProxyOutPort &&)=delete
deleted move CTOR
cBindingProxyOutPort(const char *strName, const char *strPortID)
CTOR initializes the name of the stream.
virtual ~cBindingProxyOutPort()=default
DTOR.
cBindingProxyOutPort(const cBindingProxyOutPort &)=delete
deleted copy CTOR
cBindingProxyOutPort & operator=(cBindingProxyOutPort &&)=delete
deleted move operator
ADTF_CLASS_ID_NAME(cBindingProxyOutPort, "default_sample_stream_out_port.streaming.adtf.cid", "Sample Stream Outport")
Implements adtf::ucom::IClassInfo.
cBindingProxyOutPort & operator=(const cBindingProxyOutPort &)=delete
deleted copy operator
tResult SetName(const char *strName) override
Sets the Name of the object.
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.