ADTF  3.18.2
streaming_graph_intf.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include "graph_intf.h"
9 
10 namespace adtf
11 {
12 namespace streaming
13 {
14 namespace ant
15 {
16 
17 
22 {
23 public:
25  ADTF_IID(IStreamingPort, "streaming_port.ant.streaming.adtf.iid");
26 
32  virtual tResult GetPortID(adtf::base::ant::IString&& strPortID) = 0;
33 };
34 
39 {
40 public:
42  ADTF_IID(IStreamingInPort, "streaming_in_port.ant.streaming.adtf.iid");
43 };
44 
49 {
50 public:
52  ADTF_IID(IStreamingOutPort, "streaming_out_port.ant.streaming.adtf.iid");
53 };
54 
58 class IStreamingGraph : public IGraph,
59  public INamedGraphObject
60 {
61 public:
63  ADTF_IID(IStreamingGraph, "streaming_graph.ant.streaming.adtf.iid");
64  UCOM_RESOLVE(adtf::ucom::ant::IObject, IGraph);
65 
67  enum tStreamingState : uint8_t
68  {
75 
84  State_Streaming = 3
85  };
93  virtual tResult SetState(tStreamingState eState) = 0;
94 
102  virtual tStreamingState GetState() = 0;
103 };
104 
105 }
106 
108 using ant::IStreamingPort;
115 
116 }
117 
118 }
The IString interface provides methods for getting and setting strings through abstract interfaces.
Definition: string_intf.h:28
Defines the Interface used to connect Items to each other.
Definition: graph_intf.h:104
Interface for a NamedGraphObject which can be added to the FilterGraph.
Interface defintion for a Streaming Graph.
tStreamingState
State Levels for the Streaming Graph as a Top-Level Graph.
@ State_Initialized
Initialized state Every data connection is established.
@ State_Streaming
Streaming state Usually all source and sink streaming data.
ADTF_IID(IStreamingGraph, "streaming_graph.ant.streaming.adtf.iid")
definiton of interface id
virtual tStreamingState GetState()=0
Gets the state of the Streaming Graph.
virtual tResult SetState(tStreamingState eState)=0
Sets the state of the Streaming Graph.
Streaming In Ports classifies a system border for incoming connections.
ADTF_IID(IStreamingInPort, "streaming_in_port.ant.streaming.adtf.iid")
definiton of interface id
Streaming Out Ports classifies a system border for outgoing connections.
ADTF_IID(IStreamingOutPort, "streaming_out_port.ant.streaming.adtf.iid")
definiton of interface id
Streaming Ports are alias defintion for system borders.
ADTF_IID(IStreamingPort, "streaming_port.ant.streaming.adtf.iid")
definiton of interface id
virtual tResult GetPortID(adtf::base::ant::IString &&strPortID)=0
Retrieves the ID / Name of the Streaming Port within the Streaming Graph which named stream is expect...
Base class for every interface type within the uCOM.
Definition: object_intf.h:31
Copyright © Audi Electronics Venture GmbH.
Namespace for entire ADTF SDK.