ADTF
Loading...
Searching...
No Matches
graph_utils.h File Reference
#include "graph.h"
#include "samplestream.h"
#include "interface_binding_proxy.h"
#include "filtergraphport.h"
#include "samplestreaminport.h"
#include "samplestreamoutport.h"
#include "data_binding_intf.h"
#include "interface_binding_intf.h"
#include "runtime_behaviour_intf.h"
#include <memory>
Include dependency graph for graph_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  adtf
 Namespace for all functionality provided by ADTF and its SDKs.
 
namespace  adtf::streaming
 Namespace for the ADTF Streaming SDK.
 
namespace  adtf::streaming::hollow
 Namespace for all functionality of the ADTF Streaming SDK provided since v3.7.
 

Functions

tResult adtf::streaming::devil::add_graph_object (ant::cGraph &oGraph, const util::cString &strCID, const util::cString &strName, const std::map< util::cString, util::cString > &oProperties, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pObject)
 Convenience functionality to create and add add graph object to a existing graph.
 
tResult adtf::streaming::devil::add_graph_object (ant::cGraph &oGraph, const util::cString &strCID, const util::cString &strName, const std::map< util::cString, util::cString > &oProperties={}, int32_t nOrderNumber=0)
 Convenience functionality to add graph object to a existing graph.
 
tResult adtf::streaming::devil::add_sample_stream (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pSampleStream)
 
tResult adtf::streaming::devil::add_sample_stream (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber=0)
 Adds a sample stream to the graph.
 
tResult adtf::streaming::devil::add_binding_proxy (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pBindingProxy)
 adds a Binding Proxy to a graph and return the created proxy.
 
tResult adtf::streaming::devil::add_binding_proxy (cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber=0)
 adds a Binding Proxy to a graph.
 
tResult adtf::streaming::devil::add_data_out_port (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pPort)
 adds an Out Port to a graph and return the created port.
 
tResult adtf::streaming::devil::add_data_out_port (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber=0)
 adds an Out Port to a graph.
 
tResult adtf::streaming::devil::add_data_in_port (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pPort)
 adds an In Port to a graph and return the created port.
 
tResult adtf::streaming::devil::add_data_in_port (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber=0)
 adds an In Port to a graph.
 
tResult adtf::streaming::devil::add_sample_stream_out_port (ant::cGraph &oGraph, const util::cString &strName, const util::cString &strPortID, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pPort)
 adds a Stream Out Port to a graph and return the created port.
 
tResult adtf::streaming::devil::add_sample_stream_out_port (ant::cGraph &oGraph, const util::cString &strName, const util::cString &strPortID, int32_t nOrderNumber=0)
 adds a Stream Out Port to a graph.
 
tResult adtf::streaming::devil::add_sample_stream_in_port (ant::cGraph &oGraph, const util::cString &strName, const util::cString &strPortID, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pPort)
 adds a Stream In Port to a graph and return the created port.
 
tResult adtf::streaming::devil::add_sample_stream_in_port (ant::cGraph &oGraph, const util::cString &strName, const util::cString &strPortID, int32_t nOrderNumber=0)
 adds a Stream In Port to a graph and return the created port.
 
void adtf::streaming::hollow::get_data_binding_objects (ant::IDataBinding *pDataBinding, ucom::ant::iobject_enum< adtf::ucom::ant::IObject > &oObjects)
 Get all the data binding objects out of pDataBinding.
 
void adtf::streaming::hollow::get_interface_binding_objects (ant::IInterfaceBinding *pInterfaceBinding, ucom::ant::iobject_enum< adtf::ucom::ant::IObject > &oObjects)
 Get all the interface binding objects out of pInterfaceBinding.
 
void adtf::streaming::hollow::get_runner_objects (ant::IRuntimeBehaviour *pRuntimeBehaviour, ucom::ant::iobject_enum< ucom::ant::IObject > &oObjects)
 Get all runner objects object out of pRuntimeBehaviour.
 
void adtf::streaming::hollow::get_child_objects (ant::INamedGraphObject &oObject, ucom::ant::iobject_enum< ucom::ant::IObject > &oObjects)
 Get all child objects of the given oObject.
 
void adtf::streaming::hollow::get_graph_objects (ant::IGraph *pGraph, ucom::ant::iobject_enum< ucom::ant::IObject > &oObjects)
 Get all graph objects out of the pGraph.
 
tResult adtf::streaming::add_graph_object (ant::cGraph &oGraph, const util::cString &strCID, const util::cString &strName, const std::map< util::cString, util::cString > &oProperties, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pObject)
 Convenience functionality to create and add add graph object to a existing graph.
 
tResult adtf::streaming::add_binding_proxy (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pBindingProxy)
 adds a Binding Proxy to a graph and return the created proxy.
 
tResult adtf::streaming::add_data_in_port (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pPort)
 adds an In Port to a graph and return the created port.
 
tResult adtf::streaming::add_data_out_port (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pPort)
 adds an Out Port to a graph and return the created port.
 
tResult adtf::streaming::add_sample_stream (ant::cGraph &oGraph, const util::cString &strName, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pSampleStream)
 
tResult adtf::streaming::add_sample_stream_in_port (ant::cGraph &oGraph, const util::cString &strName, const util::cString &strPortID, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pPort)
 adds a Stream In Port to a graph and return the created port.
 
tResult adtf::streaming::add_sample_stream_out_port (ant::cGraph &oGraph, const util::cString &strName, const util::cString &strPortID, int32_t nOrderNumber, ucom::iobject_ptr< ucom::IObject > &pPort)
 adds a Stream Out Port to a graph and return the created port.
 
void adtf::streaming::get_child_objects (ant::INamedGraphObject &oObject, ucom::ant::iobject_enum< ucom::ant::IObject > &oObjects)
 Get all child objects of the given oObject.
 
void adtf::streaming::get_graph_objects (ant::IGraph *pGraph, ucom::ant::iobject_enum< ucom::ant::IObject > &oObjects)
 Get all graph objects out of the pGraph.
 
void adtf::streaming::get_runner_objects (ant::IRuntimeBehaviour *pRuntimeBehaviour, ucom::ant::iobject_enum< ucom::ant::IObject > &oObjects)
 Get all runner objects object out of pRuntimeBehaviour.
 
void adtf::streaming::get_data_binding_objects (ant::IDataBinding *pDataBinding, ucom::ant::iobject_enum< adtf::ucom::ant::IObject > &oObjects)
 Get all the data binding objects out of pDataBinding.
 
void adtf::streaming::get_interface_binding_objects (ant::IInterfaceBinding *pInterfaceBinding, ucom::ant::iobject_enum< adtf::ucom::ant::IObject > &oObjects)
 Get all the interface binding objects out of pInterfaceBinding.
 

Detailed Description

Copyright © Audi Electronics Venture GmbH. All rights reserved

Function Documentation

◆ add_binding_proxy() [1/2]

tResult adtf::streaming::devil::add_binding_proxy ( ant::cGraph & oGraph,
const util::cString & strName,
int32_t nOrderNumber,
ucom::iobject_ptr< ucom::IObject > & pBindingProxy )
inline

adds a Binding Proxy to a graph and return the created proxy.

Parameters
oGraphThe graph where to add the Binding Proxy to.
strNameName of the Binding Proxy within the graph
nOrderNumberThe order numer of the new Binding Proxy.
pBindingProxyReturn value for the instance of the Binding Proxy created.
Returns
tResult

◆ add_binding_proxy() [2/2]

tResult adtf::streaming::devil::add_binding_proxy ( cGraph & oGraph,
const util::cString & strName,
int32_t nOrderNumber = 0 )
inline

adds a Binding Proxy to a graph.

Parameters
oGraphThe graph where to add the Binding Proxy to.
strNameName of the Binding Proxy within the graph
nOrderNumberThe order numer of the new Binding Proxy.
Returns
tResult

◆ add_data_in_port() [1/2]

tResult adtf::streaming::devil::add_data_in_port ( ant::cGraph & oGraph,
const util::cString & strName,
int32_t nOrderNumber,
ucom::iobject_ptr< ucom::IObject > & pPort )
inline

adds an In Port to a graph and return the created port.

Parameters
oGraphThe graph where to add the In Port to.
strNameName of the In Port within the graph
nOrderNumberThe order numer of the new In Port.
pPortReturn value for the instance of the port created.
Returns
tResult

◆ add_data_in_port() [2/2]

tResult adtf::streaming::devil::add_data_in_port ( ant::cGraph & oGraph,
const util::cString & strName,
int32_t nOrderNumber = 0 )
inline

adds an In Port to a graph.

Parameters
oGraphThe graph where to add the In Port to.
strNameName of the In Port within the graph
nOrderNumberThe order numer of the new In Port.
Returns
tResult

◆ add_data_out_port() [1/2]

tResult adtf::streaming::devil::add_data_out_port ( ant::cGraph & oGraph,
const util::cString & strName,
int32_t nOrderNumber,
ucom::iobject_ptr< ucom::IObject > & pPort )
inline

adds an Out Port to a graph and return the created port.

Parameters
oGraphThe graph where to add the Out Port to.
strNameName of the Out Port within the graph.
nOrderNumberThe order numer of the new Out Port.
pPortReturn value for the instance of the port created.
Returns
tResult

◆ add_data_out_port() [2/2]

tResult adtf::streaming::devil::add_data_out_port ( ant::cGraph & oGraph,
const util::cString & strName,
int32_t nOrderNumber = 0 )
inline

adds an Out Port to a graph.

Parameters
oGraphThe graph where to add the Out Port to.
strNameName of the Out Port within the graph.
nOrderNumberThe order numer of the new Out Port.
Returns
tResult

◆ add_graph_object() [1/2]

tResult adtf::streaming::devil::add_graph_object ( ant::cGraph & oGraph,
const util::cString & strCID,
const util::cString & strName,
const std::map< util::cString, util::cString > & oProperties,
int32_t nOrderNumber,
ucom::iobject_ptr< ucom::IObject > & pObject )
inline

Convenience functionality to create and add add graph object to a existing graph.

Parameters
oGraphThe Graph where to add the object.
strCIDThe class interface name of class to create the object.
strNameThe name of the object within the graph.
oPropertiesThe properties to set.
nOrderNumberthe order number of the object
pObjectReturn value for the instance of the object created.
Returns
tResult

◆ add_graph_object() [2/2]

tResult adtf::streaming::devil::add_graph_object ( ant::cGraph & oGraph,
const util::cString & strCID,
const util::cString & strName,
const std::map< util::cString, util::cString > & oProperties = {},
int32_t nOrderNumber = 0 )
inline

Convenience functionality to add graph object to a existing graph.

Parameters
oGraphThe Graph where to create and add the object.
strCIDThe class interface name of class to create the object.
strNameThe name of the object within the graph.
oPropertiesThe properties to set.
nOrderNumberthe order number of the object
Returns
tResult

◆ add_sample_stream()

tResult adtf::streaming::devil::add_sample_stream ( ant::cGraph & oGraph,
const util::cString & strName,
int32_t nOrderNumber = 0 )
inline

Adds a sample stream to the graph.

Parameters
oGraphThe graph where to add the Sample Stream to.
strNameName of the Sample Stream
nOrderNumberthe order numer of the new Sample Stream.
Returns
tResult

◆ add_sample_stream_in_port() [1/2]

tResult adtf::streaming::devil::add_sample_stream_in_port ( ant::cGraph & oGraph,
const util::cString & strName,
const util::cString & strPortID,
int32_t nOrderNumber,
ucom::iobject_ptr< ucom::IObject > & pPort )
inline

adds a Stream In Port to a graph and return the created port.

Parameters
oGraphThe graph where to add the Stream In Port to.
strNameName of the Stream In Port within the graph
strPortIDPort ID as it appears in the streaming graph
nOrderNumberThe order numer of the new Stream In Port.
pPortReturn value for the instance of the port created.
Returns
tResult

◆ add_sample_stream_in_port() [2/2]

tResult adtf::streaming::devil::add_sample_stream_in_port ( ant::cGraph & oGraph,
const util::cString & strName,
const util::cString & strPortID,
int32_t nOrderNumber = 0 )
inline

adds a Stream In Port to a graph and return the created port.

Parameters
oGraphThe graph where to add the Stream In Port to.
strNameName of the Stream In Port within the graph
strPortIDPort ID as it appears in the streaming graph
nOrderNumberThe order numer of the new Stream In Port.
Returns
tResult

◆ add_sample_stream_out_port() [1/2]

tResult adtf::streaming::devil::add_sample_stream_out_port ( ant::cGraph & oGraph,
const util::cString & strName,
const util::cString & strPortID,
int32_t nOrderNumber,
ucom::iobject_ptr< ucom::IObject > & pPort )
inline

adds a Stream Out Port to a graph and return the created port.

Parameters
oGraphThe graph where to add the Stream Out Port to.
strNameName of the Stream Out Port within the graph
strPortIDPort ID As it appears in the streaming graph
nOrderNumberThe order numer of the new Stream Out Port.
pPortReturn value for the instance of the port created.
Returns
tResult

◆ add_sample_stream_out_port() [2/2]

tResult adtf::streaming::devil::add_sample_stream_out_port ( ant::cGraph & oGraph,
const util::cString & strName,
const util::cString & strPortID,
int32_t nOrderNumber = 0 )
inline

adds a Stream Out Port to a graph.

Parameters
oGraphThe graph where to add the Stream Out Port to.
strNameName of the Stream Out Port within the graph
strPortIDPort ID as it appears in the streaming graph
nOrderNumberThe order numer of the new Stream Out Port.
Returns
tResult