Debug packet source with active output. More...
#include <senf/PPI/DebugModules.hh>
Public Member Functions | |
ActiveSource () | |
void | submit (Packet const &packet) |
Submit packet. More... | |
bool | boolean_test () const |
true if output is not throttled More... | |
Public Member Functions inherited from senf::ppi::module::Module | |
virtual | ~Module () |
Public Member Functions inherited from senf::comparable_safe_bool< class > | |
operator bool_type () const | |
bool | operator! () const |
Public Attributes | |
connector::ActiveOutput | output |
Additional Inherited Members | |
Protected Types inherited from senf::safe_bool_base | |
typedef void(safe_bool_base::* | bool_type) () const |
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 () |
Protected Member Functions inherited from senf::comparable_safe_bool< class > | |
~comparable_safe_bool () | |
Protected Member Functions inherited from senf::safe_bool_base | |
void | this_type_does_not_support_comparisons () const |
safe_bool_base () | |
safe_bool_base (const safe_bool_base &) | |
safe_bool_base & | operator= (const safe_bool_base &) |
~safe_bool_base () | |
Debug packet source with active output.
This module provides packets into the network. Each call to submit() will process the packet synchronously.
Definition at line 67 of file DebugModules.hh.
senf::ppi::module::debug::ActiveSource::ActiveSource | ( | ) |
bool senf::ppi::module::debug::ActiveSource::boolean_test | ( | ) | const |
true
if output is not throttled
void senf::ppi::module::debug::ActiveSource::submit | ( | Packet const & | packet | ) |
Submit packet.
true
connector::ActiveOutput senf::ppi::module::debug::ActiveSource::output |
Definition at line 71 of file DebugModules.hh.