Simple Module DummyRoute

Package: org.mixim.modules.netw
File: modules/netw/DummyRoute.ned

C++ definition

Placeholder module that simply "translates" netwControlInfo to macControlInfo.

DummyRoute

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.

Extends:

BaseNetwLayer (simple module)

Base module for every network layer module

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.

Host802154A (compound module)

This host NED module models a host using an IEEE 802.15.4A correlation receiver.

Parameters:

Name Type Default value Description
notAffectedByHostState bool false
coreDebug bool

debug switch for core framework

stats bool true

stats switch

headerLength double 0

length of the network packet header (in bits)

trace bool false

debug switch

networkID int 0

network ID, allows coexistence tests

Properties:

Name Value Description
class DummyRoute

Gates:

Name Direction Size Description
upperGateIn input

from upper layer

upperGateOut output

to uppe layer

upperControlIn input

control from upper layer

upperControlOut output

control to upper layer

lowerGateIn input

from lower layer

lowerGateOut output

to lower layer

lowerControlIn input

control from lower layer

lowerControlOut output

control to lower layer

Source code:

// Placeholder module that simply "translates" netwControlInfo to macControlInfo.
simple DummyRoute extends BaseNetwLayer
{
    parameters:
        // debug switch
        bool trace = default(false);
        stats = default(true);
        headerLength = default(0);
        int networkID = default(0);  // network ID, allows coexistence tests
        @class(DummyRoute);
}