Simple Module GlobalParameters

Package: oversim.common
File: src/common/GlobalParameters.ned

C++ definition

Module for storing global simulation parameters

GlobalParameters

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.

Used in compound modules:

Name Type Description
GlobalObserver compound module

global module that contains the globalNodeList and the globalStatistics module

Parameters:

Name Type Default value Description
rpcUdpTimeout double

default timeout value for direct RPCs

rpcKeyTimeout double

default timeout value for routed RPCs

printStateToStdOut bool

print overlay ready messages to std::cout

topologyAdaptation bool

turn on topologyAdaptation (for demonstrator)

Properties:

Name Value Description
display i=block/control

Source code:

//
// Module for storing global simulation parameters
//
simple GlobalParameters
{
    parameters:
        double rpcUdpTimeout @unit(s);    // default timeout value for direct RPCs
        double rpcKeyTimeout @unit(s);    // default timeout value for routed RPCs
        bool printStateToStdOut;  // print overlay ready messages to std::cout
        bool topologyAdaptation;   // turn on topologyAdaptation (for demonstrator)
        @display("i=block/control");
}