GateScheduleCanvasVisualizer

Package: inet.visualizer.canvas.common

GateScheduleCanvasVisualizer

simple module

This module visualizes gates on a 2D canvas.

See also: GateScheduleOsgVisualizer, GateScheduleVisualizer, GateScheduleVisualizerBase, IGateScheduleVisualizer

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
GateScheduleVisualizerBase simple module

This is a base module for gate visualizer simple modules.

Parameters

Name Type Default value Description
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

displayGateSchedules bool false
labelFormat string "%i %D"
gateFilter string "**"

which gates are considered, matches all gates by default

width double 100
height double 8
spacing double 2
placementHint string "right"

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

displayDuration double 0s

gate operation time duration visualized in the amount of space available, use gate period by default

currentTimePosition double width / 2

position of the current simulation time in the visualization, horizontal center by default

zIndex double 10

determines the drawing order of figures relative to other visualizers

Properties

Name Value Description
class GateScheduleCanvasVisualizer
display i=block/app

Source code

//
// This module visualizes gates on a 2D canvas.
//
// @see ~GateScheduleOsgVisualizer, ~GateScheduleVisualizer, ~GateScheduleVisualizerBase, ~IGateScheduleVisualizer
//
simple GateScheduleCanvasVisualizer extends GateScheduleVisualizerBase like IGateScheduleVisualizer
{
    parameters:
        double zIndex = default(10); // determines the drawing order of figures relative to other visualizers
        @class(GateScheduleCanvasVisualizer);
}

File: src/inet/visualizer/canvas/common/GateScheduleCanvasVisualizer.ned