30 graph<runtime_behaviour<interface_binding<data_binding<named_graph_object<IFilterGraph>>>>>>
38 tFilterGraphState
m_eState = tFilterGraphState::State_Constructed;
39 bool m_bIsSubGraph =
false;
75 const char* strSourceName,
76 const char* strSourceConnector,
77 const char* strDestinationName,
78 const char* strDestinationConnector,
79 int32_t ui32OrderNumber,
100 int32_t ui32OrderNumber)
override;
144 tResult SetStateImpl(tFilterGraphState eOldState, tFilterGraphState eNewState, tFilterGraphState& eErrorNextState);
145 void DestructAllObjects();
244 int32_t ui32OrderNumber)
override;
292 class cImplementation;
293 std::unique_ptr<cImplementation> m_pImplementation;
A common result class usable as return value throughout.
ucom Interface to a objects configuration.
Defines the Interface used to connect Filters to each other.
tFilterState
specifies the several types of filter states
Interface for a NamedGraphObject which can be added to the FilterGraph.
Default implementation for the IFilterGraph interface.
tResult AddConnection(const char *strName, const char *strSourceName, const char *strSourceConnector, const char *strDestinationName, const char *strDestinationConnector, int32_t ui32OrderNumber, bool bSync)
Adds a conection to the Filter Graph.
tResult RemoveNamedGraphObject(const char *strName)
Removes a named Object from the Filter Graph.
tFilterGraphState m_eState
private dpointer
tResult AddNamedGraphObject(const ucom::ant::iobject_ptr< INamedGraphObject > &pItem, int32_t ui32OrderNumber) override
This is to intialize and build an FilterGraph.
~cFilterGraph() override
DTOR.
void SetLegacyShutdownOrder(bool bLegacyOrder)
Switch between 'old' legacy and 'new' shutdown order of all graph objects.
tFilterGraphState GetState() const override
Returns the current state of the filtergraph.
void SetLegacyConnectionOrder(bool bLegacyOrder)
Set whether or not the old legacy connection establishment order should be used.
void SetConnectionCreationState(IFilterGraph::tFilterGraphState eState)
Set the state before which the connections should be established.
tResult SetState(tFilterGraphState eFilterState) override
The FilterGraph state is treaded as a level machine.
tResult RemoveNamedGraphObject(const char *strName)
Removes a named Object from the Filter Graph.
A Filter Graph that supports properties and property links.
tResult AddPropertyLink(const char *strSourcePropertyName, const char *strTargetObject, const char *strTargetProperty)
Adds a link between a graph property and a property of a graph component.
~cFilterGraph() override
DTOR.
tResult AttachConfiguration(const char *strName, base::ant::IConfiguration &oAttachedConfiguration) override
Attaches a configuration to the Filter Graph under a specified name.
void DisableObjectInitializationUponAdd()
Disables modification of the state when adding objects.
tResult GetProperties(ucom::ant::iobject_ptr< base::ant::IProperties > &pProperties) override
Retrieves writeable properties object of a Filter Graph.
tResult GetProperties(ucom::ant::iobject_ptr< const base::ant::IProperties > &pProperties) const override
Retrieves readable properties object of a Filter Graph.
tResult DetachConfiguration(const char *strName) override
Detaches a configuration attached with AttachConfiguration.
Base class for every interface type within the uCOM.
Interface definition for a container of objects.
Base object pointer to realize binary compatible reference counting in interface methods.
Use this template if you want to implement an ucom::ant::IObject based Interface and/or subclass an e...
#define A_UTILS_D(__pclassname_)
Helper macro for d-pattern definitions.
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.
Copyright © Audi Electronics Venture GmbH.
tResult add_paired_connections(IFilterGraph &oGraph, adtf_util::cStringList lstObjectNames, bool bSync=true)
This is a helper function to create paired connections on the given FilterGraph instance oGraph.
tResult add_piped_connections(IFilterGraph &oGraph, adtf_util::cStringList lstObjectNames, bool bSync=true)
This is a helper function to create piped connections on the given FilterGraph instance oGraph.
tResult get_filter_graph_objects(const IFilterGraph &oGraph, ucom::ant::iobject_enum< ucom::ant::IObject > &lstObjects)
Iterates the named graph objects of the Filter Graph and calls iobject_enum::PushObject to the lstObj...
tResult get_filter_graph_object(const IFilterGraph &oGraph, ucom::ant::iobject_ptr< ucom::ant::IObject > &pObject)
Retrieve the first item of the Filter Graph where the iobject_ptr::Reset returns ERR_NO_ERROR If pObj...
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.