ADTF
Loading...
Searching...
No Matches
adtf::streaming::cStreamingGraph Class Reference

Inherits adtf::streaming::ant::named_graph_object< graph< IStreamingGraph > >.

Public Member Functions

tResult AddNamedGraphObject (const ucom::ant::iobject_ptr< INamedGraphObject > &pItem, int32_t ui32OrderNumber) override
 
tResult RemoveNamedGraphObject (const ucom::ant::iobject_ptr< INamedGraphObject > &pGraphObject) override
 
tResult RemoveNamedGraphObject (const char *strName)
 
tResult AddStreamIn (const char *strName, const char *strSampleStreamSource, const char *strSampleStreamPin, const char *strAlias)
 
tResult AddStreamOut (const char *strName, const char *strSampleStreamSink, const char *strSampleStreamPin, const char *strAlias)
 
tResult AddStreamInterfaceIn (const char *strName, const char *strSampleStreamSource, const char *strSampleStreamPin, const char *strBindingProxy)
 
tResult AddStreamInterfaceOut (const char *strName, const char *strBindingProxy, const char *strSampleStreamSink, const char *strSampleStreamPin)
 
tResult AddConnection (const char *strName, const char *strSourceName, const char *strSourceConnector, const char *strDestinationName, const char *strDestinationConnector, int32_t ui32OrderNumber, bool bSync)
 
tResult SetState (tStreamingState eState) override
 
tStreamingState GetState () override
 
tResult SetFiltergraphSubState (IFilterGraph::tFilterGraphState eFilterGraphState)
 
- Public Member Functions inherited from adtf::streaming::ant::named_graph_object< graph< IStreamingGraph > >
 named_graph_object ()
 CTOR.
 
 named_graph_object (const char *strName)
 
virtual ~named_graph_object ()=default
 DTOR.
 
tResult SetName (const char *strName) override
 
tResult GetName (base::ant::IString &&strName) const override
 
tResult SetParent (const ucom::ant::IObject *poParentObject) override
 
tResult GetParent (const ucom::ant::IObject *&poParentObject) const override
 
 named_graph_object ()
 CTOR.
 
 named_graph_object (const char *strName)
 
virtual ~named_graph_object ()=default
 DTOR.
 
tResult SetName (const char *strName) override
 
tResult GetName (base::ant::IString &&strName) const override
 
tResult SetParent (const ucom::ant::IObject *poParentObject) override
 
tResult GetParent (const ucom::ant::IObject *&poParentObject) const override
 
 named_graph_object ()
 CTOR.
 
 named_graph_object (const char *strName)
 
virtual ~named_graph_object ()=default
 DTOR.
 
tResult SetName (const char *strName) override
 
tResult GetName (base::ant::IString &&strName) const override
 
tResult SetParent (const ucom::ant::IObject *poParentObject) override
 
tResult GetParent (const ucom::ant::IObject *&poParentObject) const override
 
- Public Member Functions inherited from adtf::ucom::catwo::object< INamedGraphObject, graph< IStreamingGraph > >
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::named_graph_object< graph< IStreamingGraph > >
 named_graph_object (const named_graph_object &)=delete
 delete copy CTOR
 
 named_graph_object (named_graph_object &&)=delete
 delete move CTOR
 
named_graph_objectoperator= (const named_graph_object &)=delete
 delete copy operator
 
named_graph_objectoperator= (named_graph_object &&)=delete
 delete move operator
 
void LogNamedMessage (const char *strMessage)
 
 named_graph_object (const named_graph_object &)=delete
 delete copy CTOR
 
 named_graph_object (named_graph_object &&)=delete
 delete move CTOR
 
named_graph_objectoperator= (const named_graph_object &)=delete
 delete copy operator
 
named_graph_objectoperator= (named_graph_object &&)=delete
 delete move operator
 
void LogNamedMessage (const char *strMessage)
 
 named_graph_object (const named_graph_object &)=delete
 delete copy CTOR
 
 named_graph_object (named_graph_object &&)=delete
 delete move CTOR
 
named_graph_objectoperator= (const named_graph_object &)=delete
 delete copy operator
 
named_graph_objectoperator= (named_graph_object &&)=delete
 delete move operator
 
void LogNamedMessage (const char *strMessage)
 
- Protected Member Functions inherited from adtf::ucom::ant::IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Member Function Documentation

◆ RemoveNamedGraphObject()

tResult adtf::streaming::ant::cGraph::RemoveNamedGraphObject ( const char * strName)

Removes a named Object from the Filter Graph

Parameters
[in]strNameName of the item to remove.
Returns
Standard Result Code
Return values
ERR_NOT_FOUNDNo item with the name strName exists

◆ SetFiltergraphSubState()

tResult adtf::streaming::ant::cStreamingGraph::SetFiltergraphSubState ( IFilterGraph::tFilterGraphState eFilterGraphState)

Since Micro Runlevels are in use we have substates where streaming graph is constructed and the filtergraph is initialized step by step. This internal method is to set such an substate.

Remarks
A call on this method is only valid if at least adtf::streaming::IStreamingGraph::tStreamingState::State_Constructed has been reached AND the filtergraph has been added!

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