Compound Module MobileNet

File: networks/mobileNet/MobileNet.ned

(no description)

channelcontrol: ChannelControl host: PlainMobilityHost

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

Contains the following modules:

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

PlainMobilityHost

A host for demonstrating mobility models only -- it contains no protocol layers at all.

ChannelControl (unknown -- not in documented files)

Networks:

mobileNet (no description)

Parameters:

Name Type Description
numHosts numeric const
playgroundSizeX numeric const
playgroundSizeY numeric const

Unassigned submodule parameters:

Name Type Description
host[*].mobilityType string
host[*].blackboard.coreDebug numeric const

debug switch for core framework

host[*].mobility.coreDebug numeric const

debug switch for the core framework

host[*].mobility.x numeric const

x coordinate of the nodes' position (-1 = random)

host[*].mobility.y numeric const

y coordinate of the nodes' position (-1 = random)

Source code:

module MobileNet
    parameters:
        numHosts: numeric const,
        playgroundSizeX: numeric const,
        playgroundSizeY: numeric const;
    submodules:
        channelcontrol: ChannelControl;
            parameters:
                playgroundSizeX = playgroundSizeX,
                playgroundSizeY = playgroundSizeY;
            display: "p=60,50;i=misc/sun";
        host: PlainMobilityHost[numHosts];
            //display: "i=device/pocketpc_s;r=,,#707070";
            display: "i=device/pocketpc_s";

   display: "p=10,10;b=$playgroundSizeX,$playgroundSizeY,rect;o=white";
endmodule