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.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

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.

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");
}