senf::emu::PacketDelayer Class Reference

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

Inheritance diagram for senf::emu::PacketDelayer:

Public Member Functions

 PacketDelayer ()
 
 PacketDelayer (ClockService::clock_type packetDelay)
 
ClockService::clock_type delay () const
 
void delay (ClockService::clock_type delay)
 
ClockService::clock_type variation () const
 
void variation (ClockService::clock_type variation)
 
template<class ThrottlingDisc >
void throttlingDisc (ThrottlingDisc const &disc)
 
- 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 32 of file PacketDelayer.hh.

Constructor & Destructor Documentation

◆ PacketDelayer() [1/2]

senf::emu::PacketDelayer::PacketDelayer ( )

Definition at line 25 of file PacketDelayer.cc.

◆ PacketDelayer() [2/2]

senf::emu::PacketDelayer::PacketDelayer ( ClockService::clock_type  packetDelay)

Definition at line 33 of file PacketDelayer.cc.

Member Function Documentation

◆ delay() [1/2]

senf::ClockService::clock_type senf::emu::PacketDelayer::delay ( ) const

Definition at line 55 of file PacketDelayer.cc.

◆ delay() [2/2]

void senf::emu::PacketDelayer::delay ( ClockService::clock_type  delay)

Definition at line 49 of file PacketDelayer.cc.

◆ throttlingDisc()

template<class ThrottlingDisc >
void senf::emu::PacketDelayer::throttlingDisc ( ThrottlingDisc const &  disc)

◆ variation() [1/2]

senf::ClockService::clock_type senf::emu::PacketDelayer::variation ( ) const

Definition at line 67 of file PacketDelayer.cc.

◆ variation() [2/2]

void senf::emu::PacketDelayer::variation ( ClockService::clock_type  variation)

Definition at line 61 of file PacketDelayer.cc.

Member Data Documentation

◆ input

ppi::connector::PassiveInput senf::emu::PacketDelayer::input

Definition at line 35 of file PacketDelayer.hh.

◆ output

ppi::connector::ActiveOutput senf::emu::PacketDelayer::output

Definition at line 39 of file PacketDelayer.hh.


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