INET Framework for OMNeT++/OMNEST
|
#include <PathVisualizerBase.h>
Classes | |
class | DirectiveResolver |
class | PathVisualization |
Public Member Functions | |
virtual | ~PathVisualizerBase () |
virtual void | receiveSignal (cComponent *source, simsignal_t signal, cObject *object, cObject *details) override |
Protected Member Functions | |
virtual void | initialize (int stage) override |
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 PathVisualization * | createPathVisualization (const std::vector< int > &path, cPacket *packet) const =0 |
virtual const PathVisualization * | getPathVisualization (const std::vector< int > &path) |
virtual void | addPathVisualization (const PathVisualization *pathVisualization) |
virtual void | removePathVisualization (const PathVisualization *pathVisualization) |
virtual void | removeAllPathVisualizations () |
virtual void | setAlpha (const PathVisualization *pathVisualization, double alpha) const =0 |
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 InterfaceEntry * | getInterfaceEntry (cModule *networkNode, cModule *module) const |
Protected Attributes | |
LineManager * | lineManager = 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... | |
Parameters | |
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 |
|
virtual |
|
protectedvirtual |
Reimplemented in inet::visualizer::PathCanvasVisualizerBase.
Referenced by inet::visualizer::PathCanvasVisualizerBase::addPathVisualization(), and updatePathVisualization().
|
protectedvirtual |
Referenced by receiveSignal().
|
protectedpure virtual |
Implemented in inet::visualizer::PathOsgVisualizerBase, inet::visualizer::PathCanvasVisualizerBase, inet::visualizer::NetworkRouteCanvasVisualizer, and inet::visualizer::TransportRouteCanvasVisualizer.
Referenced by inet::visualizer::PathOsgVisualizerBase::createPathVisualization(), and updatePathVisualization().
|
protectedvirtual |
Referenced by receiveSignal().
|
protectedvirtual |
Referenced by updatePathVisualization().
|
protectedvirtual |
Referenced by inet::visualizer::PathCanvasVisualizerBase::createPathVisualization(), and inet::visualizer::PathCanvasVisualizerBase::refreshPathVisualization().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from inet::visualizer::VisualizerBase.
Reimplemented in inet::visualizer::PathOsgVisualizerBase, and inet::visualizer::PathCanvasVisualizerBase.
Referenced by inet::visualizer::PathCanvasVisualizerBase::initialize().
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
overridevirtual |
|
overrideprotectedvirtual |
Reimplemented in inet::visualizer::PathCanvasVisualizerBase.
Referenced by inet::visualizer::PathCanvasVisualizerBase::refreshDisplay().
|
protectedvirtual |
Reimplemented in inet::visualizer::PathCanvasVisualizerBase.
Referenced by inet::visualizer::PathCanvasVisualizerBase::refreshPathVisualization(), and updatePathVisualization().
|
protectedvirtual |
Referenced by handleParameterChange().
|
protectedvirtual |
Referenced by receiveSignal().
|
protectedvirtual |
Reimplemented in inet::visualizer::PathCanvasVisualizerBase.
Referenced by refreshDisplay(), removeAllPathVisualizations(), and inet::visualizer::PathCanvasVisualizerBase::removePathVisualization().
|
protectedpure virtual |
Implemented in inet::visualizer::PathOsgVisualizerBase, and inet::visualizer::PathCanvasVisualizerBase.
Referenced by refreshDisplay().
|
protectedvirtual |
Referenced by initialize().
|
protectedvirtual |
Referenced by ~PathVisualizerBase().
|
protectedvirtual |
Referenced by receiveSignal().
|
protected |
Referenced by initialize(), and ~PathVisualizerBase().
|
protected |
Referenced by initialize(), and inet::visualizer::PathCanvasVisualizerBase::refreshDisplay().
|
protected |
Referenced by initialize(), and refreshDisplay().
|
protected |
Referenced by initialize(), and refreshDisplay().
|
protected |
Maps packet to module vector.
Referenced by addToIncompletePath(), getIncompletePath(), removeAllPathVisualizations(), and removeIncompletePath().
|
protected |
Referenced by inet::visualizer::PathCanvasVisualizerBase::createPathVisualization(), and initialize().
|
protected |
Referenced by inet::visualizer::PathCanvasVisualizerBase::createPathVisualization(), and initialize().
|
protected |
Referenced by inet::visualizer::PathCanvasVisualizerBase::createPathVisualization(), and initialize().
|
protected |
Referenced by getPathVisualizationText(), and initialize().
|
protected |
Referenced by inet::visualizer::PathCanvasVisualizerBase::createPathVisualization(), and initialize().
|
protected |
Referenced by initialize(), and inet::visualizer::PathCanvasVisualizerBase::refreshDisplay().
|
protected |
Referenced by initialize(), and inet::visualizer::PathCanvasVisualizerBase::refreshDisplay().
|
protected |
|
protected |
Referenced by initialize(), and inet::visualizer::PathCanvasVisualizerBase::refreshDisplay().
|
protected |
Referenced by initialize(), and inet::visualizer::PathCanvasVisualizerBase::refreshDisplay().
|
protected |
Referenced by inet::visualizer::PathCanvasVisualizerBase::createPathVisualization(), and initialize().
|
protected |
Referenced by inet::visualizer::PathCanvasVisualizerBase::createPathVisualization(), and initialize().
|
protected |
Referenced by inet::visualizer::PathCanvasVisualizerBase::createPathVisualization(), and initialize().
|
protected |
Referenced by handleParameterChange(), initialize(), and receiveSignal().
|
protected |
Maps nodes to the number of paths that go through it.
Referenced by removeAllPathVisualizations().
|
protected |
Referenced by handleParameterChange(), initialize(), and receiveSignal().
|
protected |
Maps source/destination modules to multiple paths between them.
Referenced by addPathVisualization(), inet::visualizer::PathCanvasVisualizerBase::createPathVisualization(), getPathVisualization(), inet::visualizer::PathCanvasVisualizerBase::refreshDisplay(), refreshDisplay(), removeAllPathVisualizations(), and removePathVisualization().