Simple Module BasicMobility

File: core/basicModules/BasicMobility.ned

C++ definition: click here

Basic module for all mobility modules.

The basic module mainly provides the interfaces with the ChannelControl module and functions to update the graphical user interface.

It does not provide mobility at all, so you can use it if you only want to simulate static networks.

BasicMobility provides random placement of hosts and display updates as well as registering with the ChannelControl module.

Additionally complete border handling is implemented in BasicMobility.

See also: ChannelControl

Author: Daniel Willkomm

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.

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.

P2PHost

The P2PHost is a compound module that implements a very simple peer to peer host. Instead of an "snrEval" and "decider" module it just contains a simple "phy" module that sends unicast messages

BaseStationHost

The BaseStationHost is a compound module that implements a test base station. The test base station contains the PollApplLayer which periodically polls all clients in the network.

Host (no description)
FloodHost

Flood Host

Host (no description)
Host (no description)
PlainMobilityHost

A host for demonstrating mobility models only -- it contains no protocol layers at all.

Parameters:

Name Type Description
coreDebug numeric const

debug switch for the core framework

x numeric const

x coordinate of the nodes' position (-1 = random)

y numeric const

y coordinate of the nodes' position (-1 = random)

Source code:

simple BasicMobility
    parameters:
	coreDebug : numeric const, // debug switch for the core framework
        x: numeric const, // x coordinate of the nodes' position (-1 = random)
        y: numeric const; // y coordinate of the nodes' position (-1 = random)
endsimple