Debug packet sink with passive input. More...
#include <senf/PPI/DebugModules.hh>
Public Types | |
typedef Queue::size_type | size_type |
typedef Queue::const_iterator | iterator |
Public Member Functions | |
PassiveSink () | |
void | throttle () |
Throttle input connection. More... | |
void | unthrottle () |
Unthrottle input connection. More... | |
bool | empty () |
true , if queue is empty More... | |
size_type | size () |
number of packets in the queue More... | |
iterator | begin () |
begin iterator of packets in the queue More... | |
iterator | end () |
past-the-end iterator of packets in the queue More... | |
Packet | front () |
first packet in the queue More... | |
Packet | pop_front () |
remove and return first packet in the queue More... | |
void | clear () |
clear the queue More... | |
Public Member Functions inherited from senf::ppi::module::Module | |
virtual | ~Module () |
Public Attributes | |
connector::PassiveInput | input |
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::DirectoryNode & | sysConsoleDir () const |
void | destroy () |
Debug packet sink with passive input.
This module provides a queue for the network to write packets into. The packets can then later be analyzed.
Definition at line 150 of file DebugModules.hh.
Definition at line 159 of file DebugModules.hh.
typedef Queue::size_type senf::ppi::module::debug::PassiveSink::size_type |
Definition at line 158 of file DebugModules.hh.
senf::ppi::module::debug::PassiveSink::PassiveSink | ( | ) |
iterator senf::ppi::module::debug::PassiveSink::begin | ( | ) |
begin iterator of packets in the queue
void senf::ppi::module::debug::PassiveSink::clear | ( | ) |
clear the queue
bool senf::ppi::module::debug::PassiveSink::empty | ( | ) |
true
, if queue is empty
iterator senf::ppi::module::debug::PassiveSink::end | ( | ) |
past-the-end iterator of packets in the queue
Packet senf::ppi::module::debug::PassiveSink::front | ( | ) |
first packet in the queue
Packet senf::ppi::module::debug::PassiveSink::pop_front | ( | ) |
remove and return first packet in the queue
size_type senf::ppi::module::debug::PassiveSink::size | ( | ) |
number of packets in the queue
void senf::ppi::module::debug::PassiveSink::throttle | ( | ) |
Throttle input connection.
void senf::ppi::module::debug::PassiveSink::unthrottle | ( | ) |
Unthrottle input connection.
connector::PassiveInput senf::ppi::module::debug::PassiveSink::input |
Definition at line 161 of file DebugModules.hh.