libpsynth 0.2.1
Public Types | Public Member Functions | Protected Member Functions
psynth::graph::forward_port_impl< InPort, OutPort > Class Template Reference

It is parametrized such that it works for normal ports and buffer ports, instantiate it with proper types ... More...

#include <port.hpp>

List of all members.

Public Types

typedef InPort::port_type port_type

Public Member Functions

 static_assert (std::is_same< typename InPort::port_type, typename OutPort::port_type >::value,"Can not forward different types")
void rt_context_update (rt_process_context &ctx)
base::type_value type () const
const port_meta & meta () const
const port_type & rt_get_out () const
bool rt_out_available () const

Protected Member Functions

 forward_port_impl (std::string in_name, std::string out_name, node *in_owner, node *out_owner)

Detailed Description

template<class InPort, class OutPort>
class psynth::graph::forward_port_impl< InPort, OutPort >

It is parametrized such that it works for normal ports and buffer ports, instantiate it with proper types ...


Member Typedef Documentation

template<class InPort, class OutPort>
typedef InPort::port_type psynth::graph::forward_port_impl< InPort, OutPort >::port_type

Constructor & Destructor Documentation

template<class InPort, class OutPort>
psynth::graph::forward_port_impl< InPort, OutPort >::forward_port_impl ( std::string  in_name,
std::string  out_name,
node *  in_owner,
node *  out_owner 
) [inline, protected]

Member Function Documentation

template<class InPort, class OutPort>
const port_meta& psynth::graph::forward_port_impl< InPort, OutPort >::meta ( ) const [inline]
template<class InPort, class OutPort>
void psynth::graph::forward_port_impl< InPort, OutPort >::rt_context_update ( rt_process_context &  ctx) [inline]
template<class InPort, class OutPort>
const port_type& psynth::graph::forward_port_impl< InPort, OutPort >::rt_get_out ( ) const [inline]
template<class InPort, class OutPort>
bool psynth::graph::forward_port_impl< InPort, OutPort >::rt_out_available ( ) const [inline]
template<class InPort, class OutPort>
psynth::graph::forward_port_impl< InPort, OutPort >::static_assert ( std::is_same< typename InPort::port_type, typename OutPort::port_type >::value  ,
"Can not forward different types"   
)
template<class InPort, class OutPort>
base::type_value psynth::graph::forward_port_impl< InPort, OutPort >::type ( ) const [inline]

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