INET Framework for OMNeT++/OMNEST
|
#include <LinkVisualizerBase.h>
Classes | |
class | DirectiveResolver |
class | LinkVisualization |
Public Member Functions | |
virtual | ~LinkVisualizerBase () |
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 | isLinkStart (cModule *module) const =0 |
virtual bool | isLinkEnd (cModule *module) const =0 |
virtual const LinkVisualization * | createLinkVisualization (cModule *source, cModule *destination, cPacket *packet) const =0 |
virtual const LinkVisualization * | getLinkVisualization (std::pair< int, int > linkVisualization) |
virtual void | addLinkVisualization (std::pair< int, int > sourceAndDestination, const LinkVisualization *linkVisualization) |
virtual void | removeLinkVisualization (const LinkVisualization *linkVisualization) |
virtual void | removeAllLinkVisualizations () |
virtual void | setAlpha (const LinkVisualization *linkVisualization, double alpha) const =0 |
virtual cModule * | getLastModule (int treeId) |
virtual void | setLastModule (int treeId, cModule *lastModule) |
virtual void | removeLastModule (int treeId) |
virtual std::string | getLinkVisualizationText (cPacket *packet) const |
virtual void | refreshLinkVisualization (const LinkVisualization *linkVisualization, cPacket *packet) |
virtual void | updateLinkVisualization (cModule *source, cModule *destination, 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, int > | lastModules |
Maps packet to last module. More... | |
std::map< std::pair< int, int >, const LinkVisualization * > | linkVisualizations |
Maps source/destination module ids to link visualizations. More... | |
Parameters | |
bool | displayLinks = false |
NetworkNodeFilter | nodeFilter |
InterfaceFilter | interfaceFilter |
PacketFilter | packetFilter |
cFigure::Color | lineColor |
cFigure::LineStyle | lineStyle |
double | lineWidth = NaN |
double | lineShift = NaN |
const char * | lineShiftMode = nullptr |
double | lineContactSpacing = NaN |
const char * | lineContactMode = nullptr |
StringFormat | labelFormat |
cFigure::Font | labelFont |
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::LinkCanvasVisualizerBase.
Referenced by inet::visualizer::LinkCanvasVisualizerBase::addLinkVisualization(), and updateLinkVisualization().
|
protectedpure virtual |
|
protectedvirtual |
Referenced by receiveSignal().
|
protectedvirtual |
Referenced by updateLinkVisualization().
|
protectedvirtual |
Referenced by inet::visualizer::LinkCanvasVisualizerBase::createLinkVisualization(), and inet::visualizer::LinkCanvasVisualizerBase::refreshLinkVisualization().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from inet::visualizer::VisualizerBase.
Reimplemented in inet::visualizer::LinkOsgVisualizerBase, and inet::visualizer::LinkCanvasVisualizerBase.
Referenced by inet::visualizer::LinkCanvasVisualizerBase::initialize().
|
protectedpure virtual |
|
protectedpure virtual |
|
overridevirtual |
|
overrideprotectedvirtual |
Reimplemented in inet::visualizer::LinkCanvasVisualizerBase.
Referenced by inet::visualizer::LinkCanvasVisualizerBase::refreshDisplay().
|
protectedvirtual |
Reimplemented in inet::visualizer::LinkCanvasVisualizerBase.
Referenced by inet::visualizer::LinkCanvasVisualizerBase::refreshLinkVisualization(), and updateLinkVisualization().
|
protectedvirtual |
Referenced by handleParameterChange().
|
protectedvirtual |
Referenced by receiveSignal().
|
protectedvirtual |
Reimplemented in inet::visualizer::LinkCanvasVisualizerBase.
Referenced by refreshDisplay(), removeAllLinkVisualizations(), and inet::visualizer::LinkCanvasVisualizerBase::removeLinkVisualization().
|
protectedpure virtual |
Implemented in inet::visualizer::LinkOsgVisualizerBase, and inet::visualizer::LinkCanvasVisualizerBase.
Referenced by refreshDisplay().
|
protectedvirtual |
Referenced by receiveSignal().
|
protectedvirtual |
Referenced by initialize().
|
protectedvirtual |
Referenced by ~LinkVisualizerBase().
|
protectedvirtual |
Referenced by receiveSignal().
|
protected |
Referenced by initialize(), refreshDisplay(), and ~LinkVisualizerBase().
|
protected |
Referenced by initialize(), and inet::visualizer::LinkCanvasVisualizerBase::refreshDisplay().
|
protected |
Referenced by initialize(), and refreshDisplay().
|
protected |
Referenced by initialize(), and refreshDisplay().
|
protected |
Referenced by handleParameterChange(), initialize(), and receiveSignal().
|
protected |
Referenced by inet::visualizer::LinkCanvasVisualizerBase::createLinkVisualization(), and initialize().
|
protected |
Referenced by inet::visualizer::LinkCanvasVisualizerBase::createLinkVisualization(), and initialize().
|
protected |
Referenced by getLinkVisualizationText(), and initialize().
|
protected |
Maps packet to last module.
Referenced by getLastModule(), removeAllLinkVisualizations(), removeLastModule(), and setLastModule().
|
protected |
Referenced by inet::visualizer::LinkCanvasVisualizerBase::createLinkVisualization(), and initialize().
|
protected |
Referenced by initialize(), and inet::visualizer::LinkCanvasVisualizerBase::refreshDisplay().
|
protected |
Referenced by initialize(), and inet::visualizer::LinkCanvasVisualizerBase::refreshDisplay().
|
protected |
|
protected |
Referenced by initialize(), and inet::visualizer::LinkCanvasVisualizerBase::refreshDisplay().
|
protected |
Referenced by initialize(), and inet::visualizer::LinkCanvasVisualizerBase::refreshDisplay().
|
protected |
Referenced by inet::visualizer::LinkCanvasVisualizerBase::createLinkVisualization(), and initialize().
|
protected |
Referenced by inet::visualizer::LinkCanvasVisualizerBase::createLinkVisualization(), and initialize().
|
protected |
Maps source/destination module ids to link visualizations.
Referenced by addLinkVisualization(), getLinkVisualization(), inet::visualizer::LinkCanvasVisualizerBase::refreshDisplay(), refreshDisplay(), removeAllLinkVisualizations(), and removeLinkVisualization().
|
protected |
Referenced by handleParameterChange(), initialize(), and receiveSignal().
|
protected |
Referenced by handleParameterChange(), initialize(), and receiveSignal().