Simple Module BurstApplLayer

Package: org.mixim.modules.application
File: modules/application/BurstApplLayer.ned

C++ definition

Application layer to test lower layer implementations

This application layer does exactly the same as the TestApplLayer. The only difference is that is sends a burst of broadcast messages instead of just one. The burst size is specified in burstSize and can be set in omnetpp.ini

See also: TestApplLayer

Author: Daniel Willkomm

BurstApplLayer

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Known subclasses:

BurstApplLayerBattery (simple module) (no description)

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

PhyMacHost (compound module) (no description)

Parameters:

Name Type Default value Description
coreDebug bool false

debug switch for base class (TestApplLayer)

debug bool

debug switch

headerLength int

length of the application message header (in bits)

burstSize int

size of the burst

Gates:

Name Direction Size Description
lowerGateIn input

from network layer

lowerGateOut output

to network layer

lowerControlIn input

control from network layer

lowerControlOut output

control to network layer

Source code:

// Application layer to test lower layer implementations
//
// This application layer does exactly the same as the
// TestApplLayer. The only difference is that is sends a burst of
// broadcast messages instead of just one. The burst size is specified
// in burstSize and can be set in omnetpp.ini
//
// @see TestApplLayer
// @author Daniel Willkomm
simple BurstApplLayer like IBaseApplLayer
{
    parameters:
        bool coreDebug = default(false); //debug switch for base class (TestApplLayer)
        bool debug; // debug switch
        int headerLength @unit("bit"); // length of the application message header (in bits)
        int burstSize; // size of the burst
    gates:
        input lowerGateIn; // from network layer
        output lowerGateOut; // to network layer
        input lowerControlIn; // control from network layer
        output lowerControlOut; // control to network layer
}