Active, queue-based packet source. More...
#include <senf/PPI/DebugModules.hh>
Public Types | |
typedef PassiveSource::size_type | size_type |
Public Member Functions | |
ActiveFeederSource () | |
void | submit (Packet packet) |
enqueue packet More... | |
bool | empty () |
true , if queue is empty More... | |
size_type | size () |
number of packets in the queue More... | |
Public Attributes | |
connector::ActiveOutput & | output |
Active, queue-based packet source.
The ActiveFeederSource contains a packet queue containing the packets to be processed. These packets are actively fed into the network when it is run with senf::ppi::run() until it is empty, when senf::ppi::run() will return.
ActiveFeederSource is not a module but a collection of two modules: a PassiveSource and an ActiveFeeder.
Definition at line 198 of file DebugModules.hh.
Definition at line 205 of file DebugModules.hh.
senf::ppi::module::debug::ActiveFeederSource::ActiveFeederSource | ( | ) |
bool senf::ppi::module::debug::ActiveFeederSource::empty | ( | ) |
true
, if queue is empty
size_type senf::ppi::module::debug::ActiveFeederSource::size | ( | ) |
number of packets in the queue
void senf::ppi::module::debug::ActiveFeederSource::submit | ( | Packet | packet | ) |
enqueue packet
connector::ActiveOutput& senf::ppi::module::debug::ActiveFeederSource::output |
Definition at line 207 of file DebugModules.hh.