ADTF
graph< INTERFACE >

Generator Template to create a graph implementation. More...

Inheritance diagram for graph< INTERFACE >:
[legend]

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
 This is to intialize and build an FilterGraph. More...
 
- Public Member Functions inherited from 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)
 Removes a named Object from the Filter Graph. More...
 
virtual tResult RemoveNamedGraphObject (const ucom::ant::iobject_ptr< INamedGraphObject > &pGraphObject)
 Removes a Named Graph Object by instance. More...
 
- Public Member Functions inherited from object< IGraph, IGraph >
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object. More...
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying. More...
 
void Destroy () const override
 Destruct and deallocate instantiations of type IObject. More...
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast() More...
 

Additional Inherited Members

- Protected Member Functions inherited from 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 IObject
 ~IObject ()=default
 Protected destructor --> Use implemented Destroy() instead of delete!
 

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).

Definition at line 102 of file graph.h.

Member Function Documentation

◆ AddNamedGraphObject()

tResult 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 cGraph.

Definition at line 121 of file graph.h.

References cGraph::AddNamedGraphObject(), iobject_ptr_base< T >::Get(), RETURN_IF_FAILED, and RETURN_NOERROR.