PacketDropVisualizer

Package: inet.visualizer.common

PacketDropVisualizer

compound module

This module integrates canvas and osg packet drop visualizers into a single module.

See also: PacketDropCanvasVisualizer, PacketDropOsgVisualizer, PacketDropVisualizerBase, IPacketDropVisualizer

canvasVisualizer : like IPacketDropVisualizer

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

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

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

Source:
osgVisualizer: <default(firstAvailableOrEmpty("PacketDropOsgVisualizer"))> like IPacketDropVisualizer 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 packet drop visualizers into a single module.
//
// @see ~PacketDropCanvasVisualizer, ~PacketDropOsgVisualizer, ~PacketDropVisualizerBase, ~IPacketDropVisualizer
//
module PacketDropVisualizer like IPacketDropVisualizer
{
    parameters:
        @display("i=block/app");
        *.visualizationTargetModule = default("^.^");
        *.visualizationSubjectModule = default("^.^");
    submodules:
        canvasVisualizer: <default(firstAvailableOrEmpty("PacketDropCanvasVisualizer"))> like IPacketDropVisualizer if typename != "" {
            parameters:
                @display("p=100,100");
        }
        osgVisualizer: <default(firstAvailableOrEmpty("PacketDropOsgVisualizer"))> like IPacketDropVisualizer if typename != "" {
            parameters:
                @display("p=100,200");
        }
}

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