ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
graph_intf.h
Go to the documentation of this file.
1
7#pragma once
8
10
12
13namespace adtf
14{
15namespace streaming
16{
17namespace ant
18{
24 {
25 protected:
27 ~IGraphConnection() = default;
28
29 public:
31 ADTF_IID(IGraphConnection, "graphconnection.ant.streaming.adtf.iid");
32
33 public:
34
41
47 virtual tResult GetSourceName(base::ant::IString&& strName) const = 0;
48
55
62
68 virtual tResult GetDestinationName(base::ant::IString&& strName) const = 0;
69
76
83 virtual tResult Connect() = 0;
84
89 virtual tResult Disconnect() = 0;
90
96 virtual bool IsConnected() const = 0;
97 };
98
104 {
105 protected:
107 ~IGraph() = default;
108
109 public:
111 ADTF_IID(IGraph, "graph.ant.streaming.adtf.iid");
112
113
124 virtual tResult GetNamedGraphObject(const char* strName, ucom::ant::iobject_ptr<IObject>& pObject) const = 0;
125
134
135 };
136
137} //namespace ant
139using ant::IGraph;
140
141} //namespace streaming
142} //namespace adtf
Copyright © Audi Electronics Venture GmbH.
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
The IString interface provides methods for getting and setting strings through abstract interfaces.
Definition string_intf.h:28
Interface to describe a connection within the IGraph.
Definition graph_intf.h:24
virtual tResult Disconnect()=0
Disconnects the connection between the source and the destination.
virtual bool IsConnected() const =0
Return if either the connection is established or not.
virtual tResult GetDestinationConnectorName(base::ant::IString &&strName) const =0
Gets the destination object name.
virtual tResult GetDestinationName(base::ant::IString &&strName) const =0
Gets the destination object name.
virtual tResult GetSourceConnectorName(base::ant::IString &&strName) const =0
Gets the source object name.
~IGraphConnection()=default
not destrucable
virtual tResult GetDestination(ucom::ant::iobject_ptr< INamedGraphObject > &pDestination) const =0
Gets the destination object.
ADTF_IID(IGraphConnection, "graphconnection.ant.streaming.adtf.iid")
defintion of interface id
virtual tResult GetSourceName(base::ant::IString &&strName) const =0
Gets the source object name.
virtual tResult Connect()=0
Establishes the conenction between the source and the destination.
virtual tResult GetSource(ucom::ant::iobject_ptr< INamedGraphObject > &pSource) const =0
Gets the source object.
Defines the Interface used to connect Items to each other.
Definition graph_intf.h:104
virtual tResult GetNamedGraphObject(const char *strName, ucom::ant::iobject_ptr< IObject > &pObject) const =0
Gets a registered graph object by strName.
virtual tResult GetNamedGraphObjects(ucom::ant::iobject_list< INamedGraphObject > &lstItems) const =0
Gets a every registered graph objects.
~IGraph()=default
not desstructable
ADTF_IID(IGraph, "graph.ant.streaming.adtf.iid")
definition of interface id
Interface for a NamedGraphObject which can be added to the FilterGraph.
Base class for every interface type within the uCOM.
Definition object_intf.h:33
Base object pointer to realize binary compatible reference counting in interface methods.
Copyright © Audi Electronics Venture GmbH.
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Namespace for the ADTF Streaming SDK.
iobject_enum< T > iobject_list
alias type for iobject_enum.
Namespace for entire ADTF SDK.