TransportRouteVisualizer

Package: inet.visualizer.common

TransportRouteVisualizer

compound module

This module integrates canvas and osg transport route visualizers into a single module.

See also: TransportRouteCanvasVisualizer, TransportRouteOsgVisualizer, PathVisualizerBase, ITransportRouteVisualizer

canvasVisualizer : like ITransportRouteVisualizer

ITransportRouteVisualizer: This module interface allows configuring different ~ITransportRouteVisualizer submodules from INI...

Source:
canvasVisualizer: <default(firstAvailableOrEmpty("TransportRouteCanvasVisualizer"))> like ITransportRouteVisualizer if typename != "" {
    parameters:
        @display("p=100,100");
} osgVisualizer : like ITransportRouteVisualizer

ITransportRouteVisualizer: This module interface allows configuring different ~ITransportRouteVisualizer submodules from INI...

Source:
osgVisualizer: <default(firstAvailableOrEmpty("TransportRouteOsgVisualizer"))> like ITransportRouteVisualizer if typename != "" {
    parameters:
        @display("p=100,200");
}

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.

Properties

Name Value Description
display i=block/app

Source code

//
// This module integrates canvas and osg transport route visualizers into a single module.
//
// @see ~TransportRouteCanvasVisualizer, ~TransportRouteOsgVisualizer, ~PathVisualizerBase, ~ITransportRouteVisualizer
//
module TransportRouteVisualizer like ITransportRouteVisualizer
{
    parameters:
        @display("i=block/app");
        *.visualizationTargetModule = default("^.^");
        *.visualizationSubjectModule = default("^.^");
    submodules:
        canvasVisualizer: <default(firstAvailableOrEmpty("TransportRouteCanvasVisualizer"))> like ITransportRouteVisualizer if typename != "" {
            parameters:
                @display("p=100,100");
        }
        osgVisualizer: <default(firstAvailableOrEmpty("TransportRouteOsgVisualizer"))> like ITransportRouteVisualizer if typename != "" {
            parameters:
                @display("p=100,200");
        }
}

File: src/inet/visualizer/common/TransportRouteVisualizer.ned