senf::emu::PacketDropper Class Reference

#include <senf/Ext/NetEmu/Modules/PacketDropper.hh>

Inheritance diagram for senf::emu::PacketDropper:

Public Member Functions

 PacketDropper (double rate)
 
double lossRate () const
 
void lossRate (double lossRate)
 
- Public Member Functions inherited from senf::ppi::module::Module
virtual ~Module ()
 

Public Attributes

ppi::connector::PassiveInput input
 
ppi::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)
 
Route< connector::InputConnector, EventDescriptor > & route (connector::InputConnector &input, EventDescriptor &output)
 
Route< EventDescriptor, connector::OutputConnector > & route (EventDescriptor &input, connector::OutputConnector &output)
 
void noroute (connector::Connector &connector)
 
void registerEvent (EventDescriptor &descriptor, Target target)
 
ClockService::clock_type const & time () const
 
ClockService::clock_type const & now () const
 
virtual void v_init ()
 
console::DirectoryNodesysConsoleDir () const
 
void destroy ()
 

Detailed Description

Definition at line 30 of file PacketDropper.hh.

Constructor & Destructor Documentation

◆ PacketDropper()

senf::emu::PacketDropper::PacketDropper ( double  rate)

Definition at line 24 of file PacketDropper.cc.

Member Function Documentation

◆ lossRate() [1/2]

double senf::emu::PacketDropper::lossRate ( ) const

Definition at line 47 of file PacketDropper.cc.

◆ lossRate() [2/2]

void senf::emu::PacketDropper::lossRate ( double  lossRate)

Definition at line 31 of file PacketDropper.cc.

Member Data Documentation

◆ input

ppi::connector::PassiveInput senf::emu::PacketDropper::input

Definition at line 33 of file PacketDropper.hh.

◆ output

ppi::connector::ActiveOutput senf::emu::PacketDropper::output

Definition at line 37 of file PacketDropper.hh.


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