senf::ppi::module::debug::ActiveFeederSink Class Reference

Active, queue-based packet sink. More...

#include <senf/PPI/DebugModules.hh>

Public Types

typedef PassiveSink::size_type size_type
 
typedef PassiveSink::iterator iterator
 

Public Member Functions

 ActiveFeederSink ()
 
bool empty ()
 
size_type size ()
 
iterator begin ()
 
iterator end ()
 
Packet front ()
 
Packet pop_front ()
 
void clear ()
 

Public Attributes

connector::ActiveInputinput
 

Detailed Description

Active, queue-based packet sink.

The ActiveFeederSink contains a packet queue to receive the packets from the network. The ActiveFeederSink will actively request packets from the network until it's input is throttled.

Note
ActiveFeederSink does not have a termination condition like ActiveFeederSource, it relies on the network to throttle it's input. Additionally, the restrictions of ActiveFeederSource apply here too: You need to ensure, that no (additional) events are active (eventually) or senf::ppi::run will not return.

ActiveFeederSink is not a module but a collection of two modules: a PassiveSink and an ActiveFeeder.

Definition at line 230 of file DebugModules.hh.

Member Typedef Documentation

◆ iterator

◆ size_type

Constructor & Destructor Documentation

◆ ActiveFeederSink()

senf::ppi::module::debug::ActiveFeederSink::ActiveFeederSink ( )

Member Function Documentation

◆ begin()

iterator senf::ppi::module::debug::ActiveFeederSink::begin ( )

◆ clear()

void senf::ppi::module::debug::ActiveFeederSink::clear ( )

◆ empty()

bool senf::ppi::module::debug::ActiveFeederSink::empty ( )

◆ end()

iterator senf::ppi::module::debug::ActiveFeederSink::end ( )

◆ front()

Packet senf::ppi::module::debug::ActiveFeederSink::front ( )

◆ pop_front()

Packet senf::ppi::module::debug::ActiveFeederSink::pop_front ( )

◆ size()

size_type senf::ppi::module::debug::ActiveFeederSink::size ( )

Member Data Documentation

◆ input

connector::ActiveInput& senf::ppi::module::debug::ActiveFeederSink::input

Definition at line 240 of file DebugModules.hh.


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