ADTF
Loading...
Searching...
No Matches
adtf::streaming::ant::detail::port_router< T, U > Struct Template Reference

#include <filtergraphport.h>

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 adtf::ucom::ant::iobject_ptr< U > &pTo)
 
tResult DisconnectRouting (const adtf::ucom::ant::iobject_ptr< T > &pFrom, const adtf::ucom::ant::iobject_ptr< U > &pTo)
 

Public Attributes

adtf::ucom::object_ptr< T > m_pFrom
 the from reference.
 
std::vector< adtf::ucom::object_ptr< U > > m_oTos
 the to reference.
 

Detailed Description

template<typename T, typename U = T>
struct adtf::streaming::ant::detail::port_router< T, U >

Helper template class to route a ISampleStream or a IBindingProxy

Member Function Documentation

◆ AddTo()

template<typename T, typename U = T>
tResult adtf::streaming::ant::detail::port_router< T, U >::AddTo ( const adtf::ucom::ant::iobject_ptr< U > & pTo)
inline

Resets the To Routing.

Parameters
pTothe to reference.
Returns
Standard Result Code

◆ ConnectRouting()

template<typename T, typename U = T>
tResult adtf::streaming::ant::detail::port_router< T, U >::ConnectRouting ( const adtf::ucom::ant::iobject_ptr< T > & pFrom,
const adtf::ucom::ant::iobject_ptr< U > & pTo )
inline

Connects the Routing.

Parameters
pFromthe from reference.
pTothe to reference.
Returns
Standard Result Code

◆ DisconnectRouting()

template<typename T, typename U = T>
tResult adtf::streaming::ant::detail::port_router< T, U >::DisconnectRouting ( const adtf::ucom::ant::iobject_ptr< T > & pFrom,
const adtf::ucom::ant::iobject_ptr< U > & pTo )
inline

Disonnects the Routing.

Parameters
pFromthe from reference.
pTothe to reference.
Returns
Standard Result Code

◆ ResetFrom()

template<typename T, typename U = T>
tResult adtf::streaming::ant::detail::port_router< T, U >::ResetFrom ( const adtf::ucom::ant::iobject_ptr< T > & pFrom)
inline

Resets the From Router.

Parameters
pFromthe from reference.
Returns
Standard Result Code

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