InterpacketGapInserter

Package: inet.protocolelement.common

InterpacketGapInserter

simple module

C++ definition

(no description)

InterpacketGapInserter

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in compound modules

Name Type Description
ClientHost5 compound module (no description)
ClientHost6 compound module (no description)
ClientHost7 compound module (no description)
EthernetPhyLayer compound module (no description)
EthernetPreemptingPhyLayer compound module (no description)
SenderHost compound module (no description)

Extends

Name Type Description
PacketProcessorBase simple module

This is a base module for various packet processing modules which maintains a few statistics.

Parameters

Name Type Default value Description
displayStringTextFormat string "delayed %p pk (%l)\nifg: %g"

determines the text that is written on top of the submodule

clockModule string ""

relative path of a module that implements IClock(1,2); optional

initialChannelBusy bool false

assume that channel was busy before the simulation started

duration double

Properties

Name Value Description
display i=block/timer
class InterpacketGapInserter

Gates

Name Direction Size Description
in input
out output

Signals

Name Type Unit
interpacketGapEnded double
interpacketGapStarted double

Source code

simple InterpacketGapInserter extends PacketProcessorBase
{
    parameters:
        string clockModule = default(""); // relative path of a module that implements IClock; optional
        bool initialChannelBusy = default(false); // assume that channel was busy before the simulation started
        volatile double duration @unit(s);
        displayStringTextFormat = default("delayed %p pk (%l)\nifg: %g");
        @display("i=block/timer");
        @class(InterpacketGapInserter);
        @signal[interpacketGapStarted](type=double);
        @signal[interpacketGapEnded](type=double);
    gates:
        input in;
        output out;
}
File: src/inet/protocolelement/common/InterpacketGapInserter.ned