Simple Module BaseLayer

Package: org.mixim.base.modules
File: base/modules/BaseLayer.ned

C++ definition

Base module for all layer modules. Defines the in and out gates

BaseLayer

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:

Aggregation (simple module)

This module aggregates application level packets in larger packets.

BaseMacLayer (simple module)

Base module for every mac layer module

BaseNetwLayer (simple module)

Base module for every network layer module

Parameters:

Name Type Default value Description
notAffectedByHostState bool false

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:

//
// Base module for all layer modules. Defines the in and out gates
//
simple BaseLayer
{
    parameters:
        bool notAffectedByHostState = default(false);

    gates:
        input upperGateIn; // from upper layer
        output upperGateOut; // to uppe layer
        input upperControlIn; // control from upper layer
        output upperControlOut; // control to upper layer
        input lowerGateIn; // from lower layer
        output lowerGateOut; // to lower layer
        input lowerControlIn; // control from lower layer
        output lowerControlOut; // control to lower layer
}