INET Framework for OMNeT++/OMNEST
|
#include <RoutingTableVisualizerBase.h>
Classes | |
class | DirectiveResolver |
class | RouteVisualization |
Public Member Functions | |
virtual | ~RoutingTableVisualizerBase () |
virtual void | receiveSignal (cComponent *source, simsignal_t signal, cObject *obj, cObject *details) override |
Protected Member Functions | |
virtual void | initialize (int stage) override |
virtual void | handleParameterChange (const char *name) override |
virtual void | subscribe () |
virtual void | unsubscribe () |
virtual const RouteVisualization * | createRouteVisualization (IPv4Route *route, cModule *node, cModule *nextHop) const =0 |
virtual const RouteVisualization * | getRouteVisualization (IPv4Route *route, int nodeModuleId, int nextHopModuleId) |
virtual void | addRouteVisualization (const RouteVisualization *routeVisualization) |
virtual void | removeRouteVisualization (const RouteVisualization *routeVisualization) |
virtual std::vector< IPv4Address > | getDestinations () |
virtual void | addRouteVisualizations (IIPv4RoutingTable *routingTable) |
virtual void | removeRouteVisualizations (IIPv4RoutingTable *routingTable) |
virtual void | removeAllRouteVisualizations () |
virtual void | updateRouteVisualizations (IIPv4RoutingTable *routingTable) |
virtual void | updateAllRouteVisualizations () |
virtual std::string | getRouteVisualizationText (const IPv4Route *route) const |
virtual void | refreshRouteVisualization (const RouteVisualization *routeVisualization) const =0 |
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< std::tuple< const IPv4Route *, int, int >, const RouteVisualization * > | routeVisualizations |
Parameters | |
bool | displayRoutingTables = false |
bool | displayRoutesIndividually = false |
bool | displayLabels = false |
NetworkNodeFilter | destinationFilter |
NetworkNodeFilter | nodeFilter |
cFigure::Color | lineColor |
cFigure::LineStyle | lineStyle |
double | lineShift = NaN |
const char * | lineShiftMode = nullptr |
double | lineWidth = NaN |
double | lineContactSpacing = NaN |
const char * | lineContactMode = nullptr |
StringFormat | labelFormat |
cFigure::Font | labelFont |
cFigure::Color | labelColor |
Protected Attributes inherited from inet::visualizer::VisualizerBase | |
cModule * | visualizerTargetModule = nullptr |
const char * | tags = nullptr |
|
virtual |
|
protectedvirtual |
Reimplemented in inet::visualizer::RoutingTableCanvasVisualizer.
Referenced by inet::visualizer::RoutingTableCanvasVisualizer::addRouteVisualization(), and addRouteVisualizations().
|
protectedvirtual |
Referenced by updateAllRouteVisualizations(), and updateRouteVisualizations().
|
protectedpure virtual |
Implemented in inet::visualizer::RoutingTableOsgVisualizer, and inet::visualizer::RoutingTableCanvasVisualizer.
Referenced by addRouteVisualizations().
|
protectedvirtual |
Referenced by addRouteVisualizations().
|
protectedvirtual |
Referenced by addRouteVisualizations().
|
protectedvirtual |
Referenced by inet::visualizer::RoutingTableCanvasVisualizer::refreshRouteVisualization().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from inet::visualizer::VisualizerBase.
Reimplemented in inet::visualizer::RoutingTableOsgVisualizer, and inet::visualizer::RoutingTableCanvasVisualizer.
Referenced by inet::visualizer::RoutingTableCanvasVisualizer::initialize().
|
overridevirtual |
|
protectedpure virtual |
Implemented in inet::visualizer::RoutingTableCanvasVisualizer, and inet::visualizer::RoutingTableOsgVisualizer.
Referenced by addRouteVisualizations().
|
protectedvirtual |
Referenced by updateAllRouteVisualizations().
|
protectedvirtual |
Reimplemented in inet::visualizer::RoutingTableCanvasVisualizer.
Referenced by removeAllRouteVisualizations(), inet::visualizer::RoutingTableCanvasVisualizer::removeRouteVisualization(), and removeRouteVisualizations().
|
protectedvirtual |
Referenced by updateRouteVisualizations().
|
protectedvirtual |
Referenced by initialize().
|
protectedvirtual |
Referenced by ~RoutingTableVisualizerBase().
|
protectedvirtual |
Referenced by handleParameterChange(), and receiveSignal().
|
protectedvirtual |
Referenced by receiveSignal().
|
protected |
Referenced by getDestinations(), handleParameterChange(), and initialize().
|
protected |
|
protected |
|
protected |
Referenced by initialize(), and ~RoutingTableVisualizerBase().
|
protected |
|
protected |
|
protected |
Referenced by getRouteVisualizationText(), handleParameterChange(), and initialize().
|
protected |
|
protected |
Referenced by initialize(), and inet::visualizer::RoutingTableCanvasVisualizer::refreshDisplay().
|
protected |
Referenced by initialize(), and inet::visualizer::RoutingTableCanvasVisualizer::refreshDisplay().
|
protected |
|
protected |
Referenced by initialize(), and inet::visualizer::RoutingTableCanvasVisualizer::refreshDisplay().
|
protected |
Referenced by initialize(), and inet::visualizer::RoutingTableCanvasVisualizer::refreshDisplay().
|
protected |
|
protected |
|
protected |
Referenced by handleParameterChange(), initialize(), receiveSignal(), and updateAllRouteVisualizations().
|
protected |