Ieee80211VisualizerBase

Package: inet.visualizer.base

simple module Ieee80211VisualizerBase

Base module for IEEE 802.11 association visualizer simple modules. It keeps track of wireless interface associations by subscribing to a number of signals at the provided subscription module.

This module subscribes to l2Associated, l2Disassociated, l2ApAssociated, l2ApDisassociated on the module determined by the visualizationSubjectModule parameter.

See also: Ieee80211CanvasVisualizer, Ieee80211OsgVisualizer, IIeee80211Visualizer, VisualizerBase

inet.visualizer.base.Ieee80211VisualizerBaseIeee80211VisualizerBasesimple

Inheritance diagram

Known subclasses

Name

Type

Description

Ieee80211CanvasVisualizer

simple module

Visualizes IEEE 802.11 associations on a 2D canvas. It displays an icon labeled with the SSID for each associated wireless interface.

Ieee80211OsgVisualizer

simple module

Visualizes IEEE 802.11 associations in a 3D osg scene. It displays an icon labeled with the SSID for each associated wireless interface.

Extends

Name

Type

Description

VisualizerBase

simple module

Base module for visualizer simple modules. It simply provides the visualization target module for derived modules.

Parameters

Name

Type

Default value

Description

displayStringTextFormat

string

“”

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

visualizationTargetModule

string

“^”

Module path relative to the visualizer which determines where the visualization should appear in the user interface, parent module by default

visualizationSubjectModule

string

“^”

Module path relative to the visualizer which determines what part of the simulation model the visualizer displays in the user interface, parent module by default

tags

string

“”

Tag added to each visualization for disambiguation in the runtime environment

networkNodeVisualizerModule

string

“^.networkNodeVisualizer”

Module path to the network node visualizer module, refers to a sibling submodule by default

displayAssociations

bool

false

Display association icon and SSID, disabled by default

nodeFilter

string

“*”

Which nodes are considered, matches all nodes by default

interfaceFilter

string

“*”

Which interfaces are considered, matches all interfaces by default

minPower

double

-85dBm

Minimum expected signal power

maxPower

double

-50dBm

Maximum expected signal power

icons

string

“misc/signal_power_0 misc/signal_power_1 misc/signal_power_2 misc/signal_power_3”

Wireless network visualization icon for different signal powers

iconColor

string

“dark”

Wireless network icon color is a list of colors or a color group name (e.g. dark, light), a set of dark colors by default

labelFont

string

“<default>”

Label font, automatic by default

labelColor

string

“black”

Label color, black by default

placementHint

string

“top”

Annotation placement hint, space-separated list of any, top, bottom, left, right, topLeft, topCenter, topRight, etc.

placementPriority

double

0

Determines the order of annotation positioning

Properties

Name

Value

Description

class

Ieee80211VisualizerBase

display

i=block/app

Source code

//
// Base module for IEEE 802.11 association visualizer simple modules.
// It keeps track of wireless interface associations by subscribing to a number
// of signals at the provided subscription module.
//
// This module subscribes to l2Associated, l2Disassociated,
// `l2ApAssociated`, `l2ApDisassociated` on the module determined by the
// `visualizationSubjectModule` parameter.
//
// @see ~Ieee80211CanvasVisualizer, ~Ieee80211OsgVisualizer, ~IIeee80211Visualizer, ~VisualizerBase
//
simple Ieee80211VisualizerBase extends VisualizerBase
{
    parameters:
        string networkNodeVisualizerModule = default("^.networkNodeVisualizer"); // Module path to the network node visualizer module, refers to a sibling submodule by default

        bool displayAssociations = default(false); // Display association icon and SSID, disabled by default

        string nodeFilter @mutable = default("*"); // Which nodes are considered, matches all nodes by default
        string interfaceFilter @mutable = default("*"); // Which interfaces are considered, matches all interfaces by default

        double minPower @unit(dBm) = default(-85dBm); // Minimum expected signal power
        double maxPower @unit(dBm) = default(-50dBm); // Maximum expected signal power

        string icons = default("misc/signal_power_0 misc/signal_power_1 misc/signal_power_2 misc/signal_power_3"); // Wireless network visualization icon for different signal powers
        string iconColor = default("dark"); // Wireless network icon color is a list of colors or a color group name (e.g. dark, light), a set of dark colors by default
        string labelFont = default("<default>"); // Label font, automatic by default
        string labelColor = default("black"); // Label color, black by default
        string placementHint = default("top"); // Annotation placement hint, space-separated list of any, top, bottom, left, right, topLeft, topCenter, topRight, etc.
        double placementPriority = default(0); // Determines the order of annotation positioning

        @class(Ieee80211VisualizerBase);
}

File: src/inet/visualizer/base/Ieee80211VisualizerBase.ned