senf::ppi::module::PassiveJoin Class Reference
[Routing Modules]

Join multiple packet streams with passive inputs. More...

#include <senf/PPI/Joins.hh>

Inheritance diagram for senf::ppi::module::PassiveJoin:
Inheritance graph
[legend]

List of all members.


Detailed Description

Join multiple packet streams with passive inputs.

The PassiveJoin will combine any number of packet streams. You may connect any number of ActiveOutput<>'s to the PassiveJoin instance. The combined stream is then provided on the ActiveOutput<> output.

Since PassiveJoin allows any number of incoming packet streams, the input connectors are dynamically managed. A special senf::ppi::connect() overload is used to dynamically create the needed input connectors. This hides this extra functionality from the user.

senf::ppi::module::PassiveJoin join;

ppi::connect(module1,join);             // Connect first module to join's input
ppi::connect(module2.some_output,join); // Connect another module to join's input
ppi::connect(join,module3);             // Forward combined stream to module3

Definition at line 63 of file Joins.hh.


Public Member Functions

  PassiveJoin ()

Public Attributes

connector::ActiveOutput  output

Constructor & Destructor Documentation

senf::ppi::module::PassiveJoin::
PassiveJoin ()

Definition at line 42 of file Joins.cc.


Member Data Documentation

connector::ActiveOutput senf::ppi::module::PassiveJoin::
output

Definition at line 67 of file Joins.hh.


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