ADTF
|
Interface to describe a connection within the IFilterGraph. More...
Public Types | |
enum | eCategory : uint32_t { immediate = 0 , static_out = 1 , static_server = 1 , static_in = 2 , static_client = 2 , static_runner = 2 , dynamic_in = 3 , dynamic_client = 3 , dynamic_out = 4 , dynamic_server = 4 , dynamic_runner = 5 } |
simple category to classify connection establishing order More... | |
Public Member Functions | |
ADTF_IID (IFilterGraphConnection, "filtergraphconnection.ant.streaming.adtf.iid") | |
defintion of interface id | |
virtual bool | IsSync () const =0 |
Returns the Sync state of the connection. More... | |
virtual eCategory | GetCategory () const =0 |
Returns the order category of the conenction. More... | |
virtual tResult | Request () const =0 |
Request a Connection. More... | |
Public Member Functions inherited from IGraphConnection | |
ADTF_IID (IGraphConnection, "graphconnection.ant.streaming.adtf.iid") | |
defintion of interface id | |
virtual tResult | GetSource (ucom::ant::iobject_ptr< INamedGraphObject > &pSource) const =0 |
Gets the source object. More... | |
virtual tResult | GetSourceName (base::ant::IString &&strName) const =0 |
Gets the source object name. More... | |
virtual tResult | GetSourceConnectorName (base::ant::IString &&strName) const =0 |
Gets the source object name. More... | |
virtual tResult | GetDestination (ucom::ant::iobject_ptr< INamedGraphObject > &pDestination) const =0 |
Gets the destination object. More... | |
virtual tResult | GetDestinationName (base::ant::IString &&strName) const =0 |
Gets the destination object name. More... | |
virtual tResult | GetDestinationConnectorName (base::ant::IString &&strName) const =0 |
Gets the destination object name. More... | |
virtual tResult | Connect ()=0 |
Establishes the conenction between the source and the destination. More... | |
virtual tResult | Disconnect ()=0 |
Disconnects the connection between the source and the destination. More... | |
virtual bool | IsConnected () const =0 |
Return if either the connection is established or not. More... | |
Public Member Functions inherited from INamedGraphObject | |
ADTF_IID (INamedGraphObject, "namedgraphobject.ant.streaming.adtf.iid") | |
defintion of interface id | |
virtual tResult | GetName (base::ant::IString &&strName) const =0 |
Gets the Name of the object to the IString rvalue reference strName . More... | |
virtual tResult | SetName (const char *strName)=0 |
Sets the Name of the object. More... | |
virtual tResult | SetParent (const ucom::ant::IObject *oParentObject)=0 |
Sets the Parent of the object. More... | |
virtual tResult | GetParent (const ucom::ant::IObject *&poParentObject) const =0 |
Retrieves the Parent of the object. 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... | |
Protected Member Functions | |
~IFilterGraphConnection ()=default | |
not destrucable | |
Protected Member Functions inherited from IGraphConnection | |
~IGraphConnection ()=default | |
not destrucable | |
Protected Member Functions inherited from INamedGraphObject | |
~INamedGraphObject ()=default | |
not destructable | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Interface to describe a connection within the IFilterGraph.
The object is created with the help of IFilterGraph::AddConnection.
Definition at line 22 of file filtergraphconnection_intf.h.
enum eCategory : uint32_t |
simple category to classify connection establishing order
Definition at line 34 of file filtergraphconnection_intf.h.
|
pure virtual |
Returns the order category of the conenction.
|
pure virtual |
Returns the Sync state of the connection.
true | - The connecton is synchronous |
false | - The connecton is a-synchronous |
|
pure virtual |
Request a Connection.
Will try to establish the connection also with the help of IDynamicDataBInding and IDynamicInterfaceBinding.
ERR_NOERROR | Connection is requested and established. |
ERR_NOT_FOUND | Connection can not be established due to a missing connector. |