40 const util::cString& strCID,
41 const util::cString& strName,
42 const std::map<util::cString, util::cString>& oProperties,
49 if (!oProperties.empty())
52 for (
const auto& oProperty: oProperties)
54 base::set_property_by_path<util::cString>(*pConfiguration, oProperty.first, oProperty.second);
59 return pObject.
Reset(pNewObject);
73 const util::cString& strCID,
74 const util::cString& strName,
75 const std::map<util::cString, util::cString>& oProperties = {},
76 int32_t nOrderNumber = 0)
79 return add_graph_object(oGraph, strCID, strName, oProperties, nOrderNumber, pObject);
82inline tResult add_sample_stream(ant::cGraph& oGraph,
83 const util::cString& strName,
88 RETURN_IF_FAILED(oGraph.AddNamedGraphObject(pNewSampleStream, nOrderNumber));
89 return pSampleStream.
Reset(pNewSampleStream);
101 const util::cString& strName,
102 int32_t nOrderNumber = 0)
105 return add_sample_stream(oGraph, strName, nOrderNumber, pSampleStream);
118 const util::cString& strName,
119 int32_t nOrderNumber,
124 return pBindingProxy.
Reset(pNewBindingProxy);
150 const util::cString& strName,
151 int32_t nOrderNumber,
156 return pPort.
Reset(pNewPort);
168 const util::cString& strName,
169 int32_t nOrderNumber = 0)
185 const util::cString& strName,
186 int32_t nOrderNumber,
191 return pPort.
Reset(pNewPort);
203 const util::cString& strName,
204 int32_t nOrderNumber = 0)
221 const util::cString& strName,
222 const util::cString& strPortID,
223 int32_t nOrderNumber,
228 return pPort.
Reset(pNewPort);
241 const util::cString& strName,
242 const util::cString& strPortID,
243 int32_t nOrderNumber = 0)
260 const util::cString& strName,
261 const util::cString& strPortID,
262 int32_t nOrderNumber,
267 return pPort.
Reset(pNewPort);
280 const util::cString& strName,
281 const util::cString& strPortID,
282 int32_t nOrderNumber = 0)
304 for (
auto& pPin: oPins)
321 for (
auto& pBindingObject: oBindingObjects)
336 pRuntimeBehaviour->
GetRunners(oRunnerObjects);
337 for (
auto& pRunner: oRunnerObjects)
362 for (
auto& pChild: oChildren)
386 if (pInterfaceBinding)
392 if (pRuntimeBehaviour)
410using devil::add_sample_stream;
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
#define RETURN_IF_FAILED(s)
Return if expression is failed, which requires the calling function's return type to be tResult.
The IDataBinding interfaces provides methods for retrive information of the Pins published.
virtual tResult GetPins(ucom::ant::iobject_list< IPin > &lstPins) const =0
Returns the current Pins (only const access).
Defines the Interface used to connect Items to each other.
virtual tResult GetNamedGraphObjects(ucom::ant::iobject_list< INamedGraphObject > &lstItems) const =0
Gets a every registered graph objects.
The IInterfaceBinding provides an interface to implement and access a common dynamic binding object r...
virtual tResult GetBindingObjects(iobject_list< IBindingObject > &lstBindingObject)=0
Return a list of all Binding Objects on lstBindingObject.
Interface for a NamedGraphObject which can be added to the FilterGraph.
The RuntimeBehaviour interface is to clearly define a filters running entry points (IRunner) and thei...
virtual tResult GetRunners(iobject_list< IRunner > &lstRunners) const =0
Returns the current Runners.
Default implementation for the IFilterGraph interface.
virtual tResult AddNamedGraphObject(const ucom::ant::iobject_ptr< INamedGraphObject > &pGraphObject, int32_t ui32OrderNumber)
This is to intialize and build an FilterGraph.
Interface definition for a container of objects.
virtual tResult PushObject(const value_type &oObject)=0
Pushes a object of value_type to the container.
virtual tResult Reset(const iobject_ptr< T > &i_oOther)=0
Reset this object_ptr<> with the content of another iobject_ptr<>
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Namespace for all functionality of the ADTF Streaming SDK provided since v3.3.
tResult 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 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 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 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 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 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.
void get_runner_objects(ant::IRuntimeBehaviour *pRuntimeBehaviour, ucom::ant::iobject_enum< ucom::ant::IObject > &oObjects)
Get all runner objects object out of pRuntimeBehaviour.
void 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 get_graph_objects(ant::IGraph *pGraph, ucom::ant::iobject_enum< ucom::ant::IObject > &oObjects)
Get all graph objects out of the pGraph.
void get_child_objects(ant::INamedGraphObject &oObject, ucom::ant::iobject_enum< ucom::ant::IObject > &oObjects)
Get all child objects of the given oObject.
void 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.
Namespace for the ADTF Streaming SDK.
object_enum< T, INTERFACE_TYPE, std::vector > object_vector
Implementation of an iobject_vector<INTERFACE_TYPE> interface by using a std::vector as container typ...
Namespace for the ADTF uCOM3 SDK.
ant::iobject_ptr< T > iobject_ptr
Alias always bringing the latest version of ant::iobject_ptr into scope.
object_ptr< Implementation > make_object_ptr(Args &&... args)
Alias always bringing the latest version of ant::make_object_ptr() into scope.
InterfacePointerType ucom_cast(ObjectPointerType i_pObject)
Alias always bringing the latest version of ucom_cast() into scope.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.
Copyright © Audi Electronics Venture GmbH.