Embedded Multicore Building Blocks V1.0.0
Public Types | Public Member Functions | List of all members
embb::dataflow::Network::Out< Type > Class Template Reference

Output port class. More...

#include <network.h>

Public Types

typedef In< Type > InType
 Input port class that can be connected to this output port. More...
 

Public Member Functions

void Connect (InType &input)
 Connects this output port to the input port input. More...
 
void operator>> (InType &input)
 Connects this output port to the input port input. More...
 

Detailed Description

template<typename Type>
class embb::dataflow::Network::Out< Type >

Output port class.

Member Typedef Documentation

template<typename Type >
typedef In<Type> embb::dataflow::Network::Out< Type >::InType

Input port class that can be connected to this output port.

Member Function Documentation

template<typename Type >
void embb::dataflow::Network::Out< Type >::Connect ( InType input)

Connects this output port to the input port input.

If the input port already was connected to a different output an ErrorException is thrown.

Parameters
inputThe input port to connect to.
template<typename Type >
void embb::dataflow::Network::Out< Type >::operator>> ( InType input)

Connects this output port to the input port input.

If the input port already was connected to a different output an ErrorException is thrown.

Parameters
inputThe input port to connect to.