ADTF
Loading...
Searching...
No Matches
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
82 virtual tResult Connect() = 0;
83
88 virtual tResult Disconnect() = 0;
89
95 virtual bool IsConnected() const = 0;
96 };
97
103 {
104 protected:
106 ~IGraph() = default;
107
108 public:
110 ADTF_IID(IGraph, "graph.ant.streaming.adtf.iid");
111
112
122 virtual tResult GetNamedGraphObject(const char* strName, ucom::ant::iobject_ptr<IObject>& pObject) const = 0;
123
130
131 };
132
133} //namespace ant
135using ant::IGraph;
136
137} //namespace streaming
138} //namespace adtf
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition string_intf.h:29
Definition graph_intf.h:24
virtual tResult GetSourceName(base::ant::IString &&strName) const =0
ADTF_IID(IGraphConnection, "graphconnection.ant.streaming.adtf.iid")
defintion of interface id
virtual tResult GetDestinationConnectorName(base::ant::IString &&strName) const =0
virtual tResult GetSource(ucom::ant::iobject_ptr< INamedGraphObject > &pSource) const =0
virtual tResult GetSourceConnectorName(base::ant::IString &&strName) const =0
virtual tResult GetDestinationName(base::ant::IString &&strName) const =0
virtual tResult GetDestination(ucom::ant::iobject_ptr< INamedGraphObject > &pDestination) const =0
~IGraphConnection()=default
not destrucable
virtual bool IsConnected() const =0
Definition graph_intf.h:103
ADTF_IID(IGraph, "graph.ant.streaming.adtf.iid")
definition of interface id
virtual tResult GetNamedGraphObject(const char *strName, ucom::ant::iobject_ptr< IObject > &pObject) const =0
virtual tResult GetNamedGraphObjects(ucom::ant::iobject_list< INamedGraphObject > &lstItems) const =0
~IGraph()=default
not desstructable
Definition named_graph_object_intf.h:25
Definition object_intf.h:33
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition bindingproxyoutport.h:16
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
iobject_enum< T > iobject_list
Definition object_list.h:387
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14