Simple Module InterfaceTableCanvasVisualizer

Package: inet.visualizer.linklayer
File: src/inet/visualizer/linklayer/InterfaceTableCanvasVisualizer.ned

C++ definition

This module visualizes interface tables on a 2D canvas. It displays a label for each selected network interface at the owner network node.

See also: InterfaceTableOsgVisualizer, InterfaceTableVisualizer, InterfaceTableVisualizerBase, IInterfaceTableVisualizer

InterfaceTableCanvasVisualizer

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.

Extends:

Name Type Description
InterfaceTableVisualizerBase simple module

This is a base module for interface table visualizer simple modules. It displays information of network interfaces at network nodes. Network interfaces are not displayed by default, see module parameters for how to enable the visualization.

Parameters:

Name Type Default value Description
visualizerTargetModule string ""

module path relative to the visualizer where the visualization should appear in the user interface, root 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

subscriptionModule string ""

module where the visualizer subscribes for interface changed signals, root module by default

displayInterfaceTables bool false

display interface table data, disabled by default

displayWiredInterfacesAtConnections bool true

specifies where wired interfaces are displayed

displayBackground bool false

specifies whether the text should have a background or not

nodeFilter string "*"

which nodes are considered, matches all nodes by default

interfaceFilter string "not(lo*)"

which interfaces are considered, matches all non-local interfaces by default

format string "%N %\\%a"

determines what interface data is displayed

displacementHint string "top"

annotation displacement hint, space separated list of any, top, bottom, left, right, topLeft, topCenter, topRight, etc.

displacementPriority double 0

determines the order of annotation positioning

font string ""

interface text font, automatic by default

textColor string "#005030"

interface text font color

backgroundColor string "white"

interface text background color

opacity double 1.0

opacity of the visualization

zIndex double 10

determines the drawing order of figures relative to other visualizers

Properties:

Name Value Description
class InterfaceTableCanvasVisualizer
display i=block/app_s

Source code:

//
// This module visualizes interface tables on a 2D canvas. It displays a label
// for each selected network interface at the owner network node.
//
// @see ~InterfaceTableOsgVisualizer, ~InterfaceTableVisualizer, ~InterfaceTableVisualizerBase, ~IInterfaceTableVisualizer
//
simple InterfaceTableCanvasVisualizer extends InterfaceTableVisualizerBase like IInterfaceTableVisualizer
{
    parameters:
        double zIndex = default(10); // determines the drawing order of figures relative to other visualizers
        @class(InterfaceTableCanvasVisualizer);
}