Simple Module WorldUtilityStats

Package: org.mixim.examples.ieee802154Narrow
File: examples/ieee802154Narrow/WorldUtilityStats.ned

C++ definition

Tracks simulation wide traffic statistics

WorldUtilityStats

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.

Extends:

BaseWorldUtility (simple module)

Basic utility module for the whole network. Provides utility methods and information used by the whole network as well as simulation wide black board functionality.

Networks:

ieee802154Narrow (network)

This example shows how to use MiXiMs implementation of the ieee802154 narrow band protocol. It also provides an example on using the global blackboard provided by BaseWorldUtility.

Parameters:

Name Type Default value Description
coreDebug bool

debug switch for the base framework

playgroundSizeX double

x size of the area the nodes are in (in meters)

playgroundSizeY double

y size of the area the nodes are in (in meters)

playgroundSizeZ double

z size of the area the nodes are in (in meters)

useTorus bool

use the playground as torus?

use2D bool

use a 2-dimensional world?

recordVectors bool false
bitrate double
bcTraffic bool true

Properties:

Name Value Description
class WorldUtilityStats
display i=misc/globe

Source code:

//
// Tracks simulation wide traffic statistics
//
simple WorldUtilityStats extends BaseWorldUtility
{
    parameters:
        @class(WorldUtilityStats);
        bool recordVectors = default(false);
        double bitrate;
        bool bcTraffic = default(true);
}