Simple Module BaseWorldUtility

Package: org.mixim.base.modules
File: base/modules/BaseWorldUtility.ned

C++ definition

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.

BaseWorldUtility

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:

Blackboard (simple module)

Provides black board like information exchange

Known subclasses:

WorldUtilityStats (simple module)

Tracks simulation wide traffic statistics

Networks:

AnalogueModels (network)

This example shows how to use AnalogueModels.

BaseMoBANNetwork (network)

This network is exactly the same as baseNetwork existing among the examples of MiXiM, but the desired number of MoBAN coordinator modules have been added. Some nodes of type BaseNode use MoBANLocal module as their mobility module. Then those nodes will be considered as WBAN nodes. Those node have a parameter named "coordinatorIndex" that determines to which WBAN (coordinator) the node belongs.

BaseNetwork (network)

This example shows the basic structure of an network using MiXiM.

BMAC (network) (no description)
CSMAMac (network)

This example shows how to use MiXiMs CSMA protocol implementation.

ieee802154a (network)

This example illustrates the use of the IEEE 802.15.4A UWB-IR simulation model implemented in MiXiM. The omnetpp.ini files comprises two scenarios. Both scenarios involve only two hosts.

LMAC (network) (no description)
Mac80211 (network)

This example shows how to use MiXiMs 802.11 protocol implementation.

MultiConnectionManager (network)

This example shows how to use multiple ConnectionManagers in your simulation.

WSNRouting (network)

This example shows how to simulate wireless sensor networks. Three different routing protocols are considered, for different traffic types: convergecast, with Wiseroute; network-level broadcast, with flooding; and probabilistic broadcast.

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?

Properties:

Name Value Description
class BaseWorldUtility
display i=misc/globe

Source code:

// 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.
simple BaseWorldUtility extends Blackboard
{
    parameters:
        @class(BaseWorldUtility);
        double playgroundSizeX @unit(m); // x size of the area the nodes are in (in meters)
        double playgroundSizeY @unit(m); // y size of the area the nodes are in (in meters)
        double playgroundSizeZ @unit(m); // z size of the area the nodes are in (in meters)
        bool useTorus;                  // use the playground as torus?
        bool use2D;                    // use a 2-dimensional world?
        @display("i=misc/globe");
}