senf::ppi::module::ActiveFeeder Class Reference

Adapter to connect passive connectors. More...

#include <senf/PPI/ActiveFeeder.hh>

Inheritance diagram for senf::ppi::module::ActiveFeeder:

Public Member Functions

 ActiveFeeder ()
 
- Public Member Functions inherited from senf::ppi::module::Module
virtual ~Module ()
 

Public Attributes

connector::ActiveInput input
 
connector::ActiveOutput output
 

Additional Inherited Members

- Protected Member Functions inherited from senf::ppi::module::Module
 Module ()
 
Route< connector::InputConnector, connector::OutputConnector > & route (connector::InputConnector &input, connector::OutputConnector &output)
 Define flow information. More...
 
Route< connector::InputConnector, EventDescriptor > & route (connector::InputConnector &input, EventDescriptor &output)
 Define flow information. More...
 
Route< EventDescriptor, connector::OutputConnector > & route (EventDescriptor &input, connector::OutputConnector &output)
 Define flow information. More...
 
void noroute (connector::Connector &connector)
 Define terminal connectors. More...
 
template<class Target >
void registerEvent (EventDescriptor &descriptor, Target target)
 Register an external event. More...
 
ClockService::clock_type const & time () const
 Time-stamp of the currently processing event. More...
 
ClockService::clock_type const & now () const
 Current time of the currently processing event. More...
 
virtual void v_init ()
 Called after module setup. More...
 
console::DirectoryNodesysConsoleDir () const
 
void destroy ()
 

Detailed Description

Adapter to connect passive connectors.

ActiveFeeder is an adapter module which allows two connect to passive connectors. As long as none of the connectors is throttled, the ActiveFeeder will forward packets from it's input to it's output.

Note
For this Module to work correctly, it is very important for the connectors to be correctly throttled. Otherwise the system might well hang in an endless loop.

Definition at line 43 of file ActiveFeeder.hh.

Constructor & Destructor Documentation

◆ ActiveFeeder()

senf::ppi::module::ActiveFeeder::ActiveFeeder ( )

Definition at line 29 of file ActiveFeeder.cc.

Member Data Documentation

◆ input

connector::ActiveInput senf::ppi::module::ActiveFeeder::input

Definition at line 46 of file ActiveFeeder.hh.

◆ output

connector::ActiveOutput senf::ppi::module::ActiveFeeder::output

Definition at line 49 of file ActiveFeeder.hh.


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