ADTF
|
Helper template class to route a ISampleStream or a IBindingProxy. More...
Public Member Functions | |
port_router ()=default | |
CTOR. | |
~port_router () | |
DTOR. | |
tResult | ResetFrom (const adtf::ucom::ant::iobject_ptr< T > &pFrom) |
Resets the From Router. More... | |
tResult | AddTo (const adtf::ucom::ant::iobject_ptr< U > &pTo) |
Resets the To Routing. More... | |
void | RemoveTos () |
tResult | ConnectRouting (const adtf::ucom::ant::iobject_ptr< T > &pFrom, const adtf::ucom::ant::iobject_ptr< U > &pTo) |
Connects the Routing. More... | |
tResult | DisconnectRouting (const adtf::ucom::ant::iobject_ptr< T > &pFrom, const adtf::ucom::ant::iobject_ptr< U > &pTo) |
Disonnects the Routing. More... | |
Public Attributes | |
adtf::ucom::object_ptr< T > | m_pFrom |
the from reference. | |
std::vector< adtf::ucom::object_ptr< U > > | m_oTos |
the to reference. | |
Helper template class to route a ISampleStream or a IBindingProxy.
Definition at line 33 of file filtergraphport.h.
|
inline |
Resets the To Routing.
pTo | the to reference. |
Definition at line 91 of file filtergraphport.h.
References port_router< T, U >::ConnectRouting(), iobject_ptr_base< T >::Get(), port_router< T, U >::m_oTos, port_router< T, U >::m_pFrom, RETURN_IF_FAILED, and RETURN_NOERROR.
|
inline |
Connects the Routing.
pFrom | the from reference. |
pTo | the to reference. |
Definition at line 129 of file filtergraphport.h.
References iobject_ptr_base< T >::Get(), adtf::streaming::ant::get_named_graph_object_full_name(), LOG_DETAIL, and RETURN_NOERROR.
Referenced by port_router< T, U >::AddTo(), and port_router< T, U >::ResetFrom().
|
inline |
Disonnects the Routing.
pFrom | the from reference. |
pTo | the to reference. |
Definition at line 150 of file filtergraphport.h.
References iobject_ptr_base< T >::Get(), and RETURN_NOERROR.
Referenced by port_router< T, U >::ResetFrom().
|
inline |
Resets the From Router.
pFrom | the from reference. |
Definition at line 52 of file filtergraphport.h.
References port_router< T, U >::ConnectRouting(), port_router< T, U >::DisconnectRouting(), iobject_ptr_base< T >::Get(), port_router< T, U >::m_oTos, port_router< T, U >::m_pFrom, RETURN_ERROR_DESC, RETURN_IF_FAILED, and RETURN_NOERROR.