|
ADTF
|
#include <filtergraphport.h>
Classes | |
| struct | tDestination |
Public Member Functions | |
| port_router ()=default | |
| CTOR. | |
| ~port_router () | |
| DTOR. | |
| tResult | ResetFrom (const adtf::ucom::ant::iobject_ptr< T > &pFrom) |
| tResult | AddTo (const adtf::ucom::ant::iobject_ptr< U > &pTo) |
| void | RemoveTos () |
| tResult | ConnectRouting (const adtf::ucom::ant::iobject_ptr< T > &pFrom, const tDestination &sTo) |
| tResult | DisconnectRouting (const adtf::ucom::ant::iobject_ptr< T > &pFrom, const tDestination &sTo) |
| tResult | SetTriggerForwardingFromParent (bool bForwarded) |
| tResult | SetTriggerForwardingToChild (const adtf::ucom::ant::iobject_ptr< U > &pTo, bool bForwarded) |
Public Attributes | |
| adtf::ucom::object_ptr< T > | m_pFrom |
| the from reference. | |
| std::vector< tDestination > | m_oTos |
| the to references. | |
| bool | m_bTriggerForwardingFromParent = false |
Helper template class to route a ISampleStream or a IBindingProxy
|
inline |
Resets the To Routing.
| pTo | the to reference. |
|
inline |
Connects the Routing.
| pFrom | the from reference. |
| sTo | the destination. |
|
inline |
Disonnects the Routing.
| pFrom | the from reference. |
| sTo | the destination. |
|
inline |
Resets the From Router.
| pFrom | the from reference. |
|
inline |
Enable forwarding of triggers from the parent trigger pipe. Default state of a port is to not forward them. A trigger reaches a child only if both forwarding from the parent and forwarding to the specific child is enabled.
| [in] | bForwarded | Whether triggers are forwarded or not. |
|
inline |
Enable forwarding of triggers to the given child sample stream and its trigger pipe. Default state of a port is to not forward them. A trigger reaches a child only if both forwarding from the parent and forwarding to the specific child is enabled.
| [in] | pSampleStream | The stream the connection leads to. |
| [in] | bForwarded | Whether triggers are forwarded or not. |
| ERR_NOT_FOUND | The port does not route to pSampleStream. |
| bool adtf::streaming::ant::detail::port_router< T, U >::m_bTriggerForwardingFromParent = false |
Whether a trigger reaches the port this routing belongs to, which is the case exactly while the connection leading to it is synchronous,