Compound Module SimpleGameClientModules

File: Applications/SimpleGameClient/SimpleGameClient.ned

(no description)

simpleGameClient: SimpleGameClient

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.

SimpleGameClient (no description)

Parameters:

Name Type Description
debugOutput bool
movementRate numeric

movement updates per second

areaDimension numeric

movement range from [0.0, 0.0] to [areaDimension, areaDimension]

AOIWidth numeric
movementSpeed numeric

movement speed in m/s

movementGenerator string

responsible for different movement models

groupSize numeric

clients per group

mtu numeric

maximum transmission unit

Gates:

Name Direction Description
from_udp input

gate from the UDP layer

from_lowerTier input

gate from the lower tier

from_upperTier input

gate from the upper tier

trace_in input

gate for trace file commands

to_udp output

gate to the UDP layer

to_lowerTier output

gate to the lower tier

to_upperTier output

gate to the upper tier

Unassigned submodule parameters:

Name Type Description

Source code:

module SimpleGameClientModules
    parameters:
        debugOutput: bool,
        movementRate: numeric,      // movement updates per second
        areaDimension: numeric,     // movement range from [0.0, 0.0] to [areaDimension, areaDimension]
        AOIWidth: numeric,
        movementSpeed: numeric,     // movement speed in m/s
        movementGenerator: string,  // responsible for different movement models
        groupSize: numeric,         // clients per group
        mtu: numeric;               // maximum transmission unit

    gates:
        in: from_udp;               // gate from the UDP layer
        in: from_lowerTier;         // gate from the lower tier
        in: from_upperTier;         // gate from the upper tier
        in: trace_in;               // gate for trace file commands
        out: to_udp;                // gate to the UDP layer
        out: to_lowerTier;          // gate to the lower tier
        out: to_upperTier;          // gate to the upper tier

    submodules:
        simpleGameClient: SimpleGameClient;
            parameters:
                debugOutput=debugOutput,
                movementRate=movementRate,              // movement updates per second
                areaDimension=areaDimension,            // movement range from [0.0, 0.0] to [areaDimension, areaDimension]
                AOIWidth=AOIWidth,
                movementSpeed=movementSpeed,            // movement speed in m/s
                movementGenerator=movementGenerator,    // responsible for different movement models
                groupSize=groupSize,                    // clients per group
                mtu=mtu;                                // maximum transmission unit
            display:
                "i=block/app";

    connections nocheck:
        from_lowerTier --> simpleGameClient.from_lowerTier;
        to_lowerTier <-- simpleGameClient.to_lowerTier;
        trace_in --> simpleGameClient.trace_in;
endmodule