ADTF  3.18.2
streaming_source_intf.h
Go to the documentation of this file.
1 
7 #pragma once
9 #include "data_binding_intf.h"
10 
11 namespace adtf
12 {
13 namespace streaming
14 {
15 namespace ant
16 {
17 
18 
24 {
25 protected:
27  ~IStreamingService() = default;
28 
29 public:
31  ADTF_IID(IStreamingService, "streaming_service.ant.streaming.adtf.iid");
32 
35  enum tStreamingState : uint8_t
36  {
39 
44 
47 
49  State_Streaming = 3
50  };
51 
61  virtual tResult SetState(tStreamingState eState) = 0;
62 
70  virtual tStreamingState GetState() = 0;
71 };
72 
77 {
78 protected:
80  ~IStreamingSource() = default;
81 
82 public:
84  ADTF_IID(IStreamingSource, "streaming_source.ant.streaming.adtf.iid");
85 };
86 
94  public IDataBinding,
95  public IDynamicDataBinding
96 {
97  protected:
100 
101  public:
103  ADTF_IID(ISampleStreamingSource, "sample_streaming_source.ant.streaming.adtf.iid");
104 };
105 
106 }
107 
111 
112 }
113 }
The IDataBinding interfaces provides methods for retrive information of the Pins published.
This interface extends the IDatabinding Interface to provide dynamic pin creation while connection ar...
Interface for a NamedGraphObject which can be added to the FilterGraph.
ADTF_IID(ISampleStreamingSource, "sample_streaming_source.ant.streaming.adtf.iid")
definiton of interface id
~ISampleStreamingSource()=default
protected DTOR
Basic sec_streaming_service interface to set the state of an IStreamingService.
~IStreamingService()=default
protect DTOR
tStreamingState
States of the Streaming Services.
@ State_Initialized
All Pins are requested and connected.
@ State_Constructed
All properties are set all pins can be created after this state the pins will be requested and connec...
@ State_Streaming
Streaming Data begins, threads and timers should only start here!
ADTF_IID(IStreamingService, "streaming_service.ant.streaming.adtf.iid")
definiton of interface id
virtual tStreamingState GetState()=0
Gets the current state of the Streaming Service.
virtual tResult SetState(tStreamingState eState)=0
Sets the state of the Streaming Service.
The Interface classifies a IStreamingService as Source.
ADTF_IID(IStreamingSource, "streaming_source.ant.streaming.adtf.iid")
definiton of interface id
~IStreamingSource()=default
protect DTOR
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Namespace for entire ADTF SDK.