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

#include <PathOsgVisualizerBase.h>

Inheritance diagram for inet::visualizer::PathOsgVisualizerBase:
inet::visualizer::PathVisualizerBase inet::visualizer::VisualizerBase inet::visualizer::NetworkRouteOsgVisualizer inet::visualizer::TransportRouteOsgVisualizer

Protected Member Functions

virtual void initialize (int stage) override
 
virtual const PathVisualizationcreatePathVisualization (const std::vector< int > &path, cPacket *packet) const override
 
virtual void setAlpha (const PathVisualization *pathVisualization, double alpha) const override
 
- Protected Member Functions inherited from inet::visualizer::PathVisualizerBase
virtual void handleParameterChange (const char *name) override
 
virtual void refreshDisplay () const override
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
virtual bool isPathStart (cModule *module) const =0
 
virtual bool isPathEnd (cModule *module) const =0
 
virtual bool isPathElement (cModule *module) const =0
 
virtual const PathVisualizationgetPathVisualization (const std::vector< int > &path)
 
virtual void addPathVisualization (const PathVisualization *pathVisualization)
 
virtual void removePathVisualization (const PathVisualization *pathVisualization)
 
virtual void removeAllPathVisualizations ()
 
virtual const std::vector< int > * getIncompletePath (int treeId)
 
virtual void addToIncompletePath (int treeId, cModule *module)
 
virtual void removeIncompletePath (int treeId)
 
virtual std::string getPathVisualizationText (cPacket *packet) const
 
virtual void refreshPathVisualization (const PathVisualization *pathVisualization, cPacket *packet)
 
virtual void updatePathVisualization (const std::vector< int > &path, cPacket *packet)
 
- 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

- Public Member Functions inherited from inet::visualizer::PathVisualizerBase
virtual ~PathVisualizerBase ()
 
virtual void receiveSignal (cComponent *source, simsignal_t signal, cObject *object, cObject *details) override
 
- Protected Attributes inherited from inet::visualizer::PathVisualizerBase
LineManagerlineManager = nullptr
 
std::map< int, std::vector< int > > incompletePaths
 Maps packet to module vector. More...
 
std::map< int, int > numPaths
 Maps nodes to the number of paths that go through it. More...
 
std::multimap< std::pair< int, int >, const PathVisualization * > pathVisualizations
 Maps source/destination modules to multiple paths between them. More...
 
bool displayRoutes = false
 
NetworkNodeFilter nodeFilter
 
PacketFilter packetFilter
 
ColorSet lineColorSet
 
cFigure::LineStyle lineStyle
 
double lineWidth = NaN
 
bool lineSmooth = false
 
double lineShift = NaN
 
const char * lineShiftMode = nullptr
 
double lineContactSpacing = NaN
 
const char * lineContactMode = nullptr
 
StringFormat labelFormat
 
cFigure::Font labelFont
 
const char * labelColorAsString = nullptr
 
cFigure::Color labelColor
 
const char * fadeOutMode = nullptr
 
double fadeOutTime = NaN
 
double fadeOutAnimationSpeed = NaN
 
- Protected Attributes inherited from inet::visualizer::VisualizerBase
cModule * visualizerTargetModule = nullptr
 
const char * tags = nullptr
 

Member Function Documentation

virtual const PathVisualization* inet::visualizer::PathOsgVisualizerBase::createPathVisualization ( const std::vector< int > &  path,
cPacket *  packet 
) const
inlineoverrideprotectedvirtual

Implements inet::visualizer::PathVisualizerBase.

54 { return PathVisualizerBase::createPathVisualization(path, packet); }
virtual const PathVisualization * createPathVisualization(const std::vector< int > &path, cPacket *packet) const =0
Definition: PathVisualizerBase.cc:145
virtual void inet::visualizer::PathOsgVisualizerBase::initialize ( int  stage)
inlineoverrideprotectedvirtual

Reimplemented from inet::visualizer::PathVisualizerBase.

52 {}
virtual void inet::visualizer::PathOsgVisualizerBase::setAlpha ( const PathVisualization pathVisualization,
double  alpha 
) const
inlineoverrideprotectedvirtual

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