ADTF
|
Generator Template to create a graph implementation. More...
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! | |
Generator Template to create a graph implementation.
INTERFACE | Interface type the graph will implement (default type IGraph). |
|
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.
[in] | pGraphObject | The item to add. |
[in] | ui32OrderNumber | The initialize order number of the item. |
ERR_INVALID_ARG | No name set for graph object. |
ERR_RESOURCE_IN_USE | There 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.