StatisticsCollector class. More...
Classes | |
class | NetDevStats |
NetDevStats class. More... | |
Public Member Functions | |
def | __init__ (self, visualizer) |
Collects interface statistics for all nodes. More... | |
def | get_interface_statistics (self, nodeId) |
Get interface statistics function. More... | |
def | simulation_periodic_update (self, viz) |
Simulation Periodic Update function. More... | |
Public Attributes | |
node_statistics | |
node statistics More... | |
visualizer | |
visualizer More... | |
StatisticsCollector class.
Collects interface statistics for all nodes.
Definition at line 12 of file interface_statistics.py.
def interface_statistics.StatisticsCollector.__init__ | ( | self, | |
visualizer | |||
) |
Collects interface statistics for all nodes.
self | this object |
visualizer | visualizer object |
Definition at line 36 of file interface_statistics.py.
def interface_statistics.StatisticsCollector.get_interface_statistics | ( | self, | |
nodeId | |||
) |
Get interface statistics function.
self | this object |
nodeId | node ID |
Definition at line 63 of file interface_statistics.py.
References interface_statistics.StatisticsCollector.node_statistics, visualizer.core.Node.visualizer, interface_statistics.StatisticsCollector.visualizer, interface_statistics.ShowInterfaceStatistics.visualizer, ipv4_routing_table.ShowIpv4RoutingTable.visualizer, olsr.ShowOlsrRoutingTable.visualizer, and show_last_packets.ShowLastPackets.visualizer.
def interface_statistics.StatisticsCollector.simulation_periodic_update | ( | self, | |
viz | |||
) |
Simulation Periodic Update function.
self | this object |
viz | visualizer object |
Definition at line 45 of file interface_statistics.py.
References interface_statistics.StatisticsCollector.node_statistics.
interface_statistics.StatisticsCollector.node_statistics |
node statistics
Definition at line 42 of file interface_statistics.py.
Referenced by interface_statistics.StatisticsCollector.get_interface_statistics(), and interface_statistics.StatisticsCollector.simulation_periodic_update().
interface_statistics.StatisticsCollector.visualizer |
visualizer
Definition at line 43 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics._response_cb(), ipv4_routing_table.ShowIpv4RoutingTable._response_cb(), olsr.ShowOlsrRoutingTable._response_cb(), show_last_packets.ShowLastPackets._response_cb(), visualizer.core.Node._update_appearance(), interface_statistics.StatisticsCollector.get_interface_statistics(), visualizer.core.Node.set_position(), visualizer.core.Node.set_svg_icon(), visualizer.core.Node.tooltip_query(), and show_last_packets.ShowLastPackets.update().