ADTF
Loading...
Searching...
No Matches
adtf::streaming::ant::graph< INTERFACE > Class Template Reference

#include <graph.h>

Inherits adtf::streaming::ant::cGraph, and adtf::ucom::catwo::object< IGraph, IGraph >.

Public Member Functions

 graph ()=default
 CTOR.
 
virtual ~graph ()=default
 DTOR.
 
tResult GetNamedGraphObject (const char *strName, ucom::ant::iobject_ptr< adtf::ucom::ant::IObject > &pObject) const override
 
tResult GetNamedGraphObjects (ucom::ant::iobject_list< INamedGraphObject > &lstItems) const override
 
tResult AddNamedGraphObject (const ucom::ant::iobject_ptr< INamedGraphObject > &pGraphObject, int32_t ui32OrderNumber) override
 
- Public Member Functions inherited from adtf::streaming::ant::cGraph
 cGraph ()=default
 CTOR.
 
virtual ~cGraph ()
 DTOR.
 
tResult GetNamedGraphObject (const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pObject) const
 
tResult GetNamedGraphObjects (ucom::ant::iobject_list< INamedGraphObject > &lstItems) const
 
tResult RemoveNamedGraphObject (const char *strName)
 
virtual tResult RemoveNamedGraphObject (const ucom::ant::iobject_ptr< INamedGraphObject > &pGraphObject)
 Removes a Named Graph Object by instance. This virtual function must be overwritten by any derived class.
 
- Public Member Functions inherited from adtf::ucom::catwo::object< IGraph, IGraph >
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
- Public Member Functions inherited from adtf::ucom::ant::IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 

Additional Inherited Members

- Protected Member Functions inherited from adtf::streaming::ant::cGraph
tResult CheckName (const adtf_util::cString &strObjectName)
 
template<typename OBJECT_INTERFACE>
tResult AddObject (const ucom::ant::iobject_ptr< OBJECT_INTERFACE > &pGraphObject, int32_t ui32OrderNumber)
 
tResult RemoveAllConnectionsFrom (const INamedGraphObject *pObj)
 
tResult AddAlias (const char *strAliasName, const ucom::ant::iobject_ptr< INamedGraphObject > &pGraphObject)
 
tResult GetAliasObjects (ucom::ant::iobject_list< INamedGraphObject > &lstItems) const
 
- Protected Member Functions inherited from adtf::ucom::ant::IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Detailed Description

template<typename INTERFACE = IGraph>
class adtf::streaming::ant::graph< INTERFACE >

Generator Template to create a graph implementation

Template Parameters
INTERFACEInterface type the graph will implement (default type IGraph).

Member Function Documentation

◆ AddNamedGraphObject()

template<typename INTERFACE = IGraph>
tResult adtf::streaming::ant::graph< INTERFACE >::AddNamedGraphObject ( const ucom::ant::iobject_ptr< INamedGraphObject > & pGraphObject,
int32_t ui32OrderNumber )
inlineoverridevirtual

This is to intialize and build an FilterGraph. See the INamedGraphObject and all derived default implementations within the SDK.

Items with the same ui32OrderNumber will initialized in order of AddNamedGraphObject call.

Parameters
[in]pGraphObjectThe item to add.
[in]ui32OrderNumberThe initialize order number of the item.
See also
INamedGraphObject
Returns
Standard Result Code
Return values
ERR_INVALID_ARGNo name set for graph object.
ERR_RESOURCE_IN_USEThere is already a graph object with the name.

Reimplemented from adtf::streaming::ant::cGraph.


The documentation for this class was generated from the following file: