ADTF  3.18.2
streamingrequests_intf.h
Go to the documentation of this file.
1 
7 #pragma once
8 
10 #include "streamtype_intf.h"
11 #include <adtf_utils.h>
12 #include <adtfucom3/adtf_ucom3.h>
13 #include <adtfbase/property_intf.h>
14 
15 namespace adtf
16 {
17 namespace streaming
18 {
19 namespace hollow
20 {
21 
26 {
27  public:
29  ADTF_IID(IStreamTypeHandler, "stream_type_handler.hollow.streaming.adtf.iid");
30 
31  public:
37 };
38 
45 {
46  public:
47  ADTF_IID(IStreamingRequest, "streaming_request.hollow.streaming.adtf.iid");
48 
49  protected:
51  ~IStreamingRequest() = default;
52 };
53 
58 {
59  public:
61  ADTF_IID(IStreamingRequests, "streaming_requests.hollow.streaming.adtf.iid");
62 
63  public:
72  uint32_t nSubStreamId,
73  const base::ant::IProperties* pRequestProperties = nullptr) = 0;
74 
81  virtual void RegisterStreamTypeHandler(IStreamTypeHandler& oHandler) = 0;
82 
87  virtual void UnregisterStreamTypeHandler(IStreamTypeHandler& oHandler) = 0;
88 
89  protected:
91  ~IStreamingRequests() = default;
92 };
93 
98 {
99  public:
101  ADTF_IID(IInternalBindingProxy, "internal_binding_proxy.hollow.streaming.adtf.iid");
102 
103  public:
110 
111  protected:
114 
115 };
116 
117 }
118 
123 
124 } //namespace streaming
125 } // namespace adtf
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Defintion of a property set container interface.
Interface for accessing an internal Interface Binding Proxy of a sample stream.
~IInternalBindingProxy()=default
not destructable
virtual tResult GetInternalBindingProxy(ucom::ant::iobject_ptr< ant::IBindingProxy > &pBindingProxy)=0
Retrieve the internal binding proxy.
ADTF_IID(IInternalBindingProxy, "internal_binding_proxy.hollow.streaming.adtf.iid")
definition of interface id
Interface for reacting synchrounously to stream type changes.
ADTF_IID(IStreamTypeHandler, "stream_type_handler.hollow.streaming.adtf.iid")
definition of interface id
virtual void HandleNewStreamType(const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType)=0
Called synchrounously when a writer updates the stream type of a sample stream.
This interface is used to keep a reference to a request.
~IStreamingRequest()=default
not destructable
Interface for handling streaming requests.
virtual void RegisterStreamTypeHandler(IStreamTypeHandler &oHandler)=0
Registers a new stream type handler.
~IStreamingRequests()=default
not destructable
virtual void UnregisterStreamTypeHandler(IStreamTypeHandler &oHandler)=0
Unregisters a stream type handler.
virtual tResult RequestSamples(ucom::ant::iobject_ptr< IStreamingRequest > &pRequest, uint32_t nSubStreamId, const base::ant::IProperties *pRequestProperties=nullptr)=0
RequestSamples of the given Substream to be generated and/or transmitted.
ADTF_IID(IStreamingRequests, "streaming_requests.hollow.streaming.adtf.iid")
definition of interface id
Base class for every interface type within the uCOM.
Definition: object_intf.h:31
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.
Copyright © Audi Electronics Venture GmbH.