INET Framework for OMNeT++/OMNEST
inet::visualizer::EnergyStorageOsgVisualizer Class Reference

#include <EnergyStorageOsgVisualizer.h>

Inheritance diagram for inet::visualizer::EnergyStorageOsgVisualizer:
inet::visualizer::EnergyStorageVisualizerBase inet::visualizer::VisualizerBase

Protected Member Functions

virtual void initialize (int stage) override
 
virtual EnergyStorageVisualizationcreateEnergyStorageVisualization (const IEnergyStorage *energyStorage) const override
 
virtual void refreshEnergyStorageVisualization (const EnergyStorageVisualization *energyStorageVisualization) const override
 
- Protected Member Functions inherited from inet::visualizer::EnergyStorageVisualizerBase
virtual void handleParameterChange (const char *name) override
 
virtual void refreshDisplay () const override
 
virtual double getNominalCapacity (const IEnergyStorage *energyStorage) const
 
virtual double getResidualCapacity (const IEnergyStorage *energyStorage) const
 
virtual void addEnergyStorageVisualization (const EnergyStorageVisualization *energyStorageVisualization)
 
virtual void addEnergyStorageVisualizations ()
 
virtual void removeEnergyStorageVisualization (const EnergyStorageVisualization *energyStorageVisualization)
 
virtual void removeAllEnergyStorageVisualizations ()
 
- Protected Member Functions inherited from inet::visualizer::VisualizerBase
virtual int numInitStages () const override
 
virtual Coord getPosition (const cModule *networkNode) const
 
virtual Coord getContactPosition (const cModule *networkNode, const Coord &fromPosition, const char *contactMode, double contactSpacing) const
 
virtual InterfaceEntrygetInterfaceEntry (cModule *networkNode, cModule *module) const
 

Additional Inherited Members

- Protected Attributes inherited from inet::visualizer::EnergyStorageVisualizerBase
std::vector< const EnergyStorageVisualization * > energyStorageVisualizations
 
bool displayEnergyStorages = false
 
ModuleFilter energyStorageFilter
 
cFigure::Color color
 
double width
 
double height
 
double spacing
 
Displacement displacementHint
 
double displacementPriority
 
- Protected Attributes inherited from inet::visualizer::VisualizerBase
cModule * visualizerTargetModule = nullptr
 
const char * tags = nullptr
 

Member Function Documentation

virtual EnergyStorageVisualization* inet::visualizer::EnergyStorageOsgVisualizer::createEnergyStorageVisualization ( const IEnergyStorage energyStorage) const
inlineoverrideprotectedvirtual

Implements inet::visualizer::EnergyStorageVisualizerBase.

58 { return nullptr; }
virtual void inet::visualizer::EnergyStorageOsgVisualizer::initialize ( int  stage)
inlineoverrideprotectedvirtual
virtual void inet::visualizer::EnergyStorageOsgVisualizer::refreshEnergyStorageVisualization ( const EnergyStorageVisualization energyStorageVisualization) const
inlineoverrideprotectedvirtual

The documentation for this class was generated from the following file: