EnergyStorageVisualizer

Package: inet.visualizer.common

EnergyStorageVisualizer

compound module

This module integrates canvas and osg energyStorage visualizers into a single module.

See also: EnergyStorageCanvasVisualizer, EnergyStorageOsgVisualizer, EnergyStorageVisualizerBase, IEnergyStorageVisualizer

canvasVisualizer : like IEnergyStorageVisualizer

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

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

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

Source:
osgVisualizer: <default(firstAvailableOrEmpty("EnergyStorageOsgVisualizer"))> like IEnergyStorageVisualizer 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 energyStorage visualizers into a single module.
//
// @see ~EnergyStorageCanvasVisualizer, ~EnergyStorageOsgVisualizer, ~EnergyStorageVisualizerBase, ~IEnergyStorageVisualizer
//
module EnergyStorageVisualizer like IEnergyStorageVisualizer
{
    parameters:
        @display("i=block/app");
        *.visualizationTargetModule = default("^.^");
        *.visualizationSubjectModule = default("^.^");
    submodules:
        canvasVisualizer: <default(firstAvailableOrEmpty("EnergyStorageCanvasVisualizer"))> like IEnergyStorageVisualizer if typename != "" {
            parameters:
                @display("p=100,100");
        }
        osgVisualizer: <default(firstAvailableOrEmpty("EnergyStorageOsgVisualizer"))> like IEnergyStorageVisualizer if typename != "" {
            parameters:
                @display("p=100,200");
        }
}

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