StatisticsCollector class. More...
Classes | |
class | NetDevStats |
NetDevStats class. More... | |
Public Member Functions | |
def | __init__ (self, visualizer) |
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 10 of file interface_statistics.py.
def interface_statistics.StatisticsCollector.__init__ | ( | self, | |
visualizer | |||
) |
Collects interface statistics for all nodes. @param self this object @param visualizer visualizer object
Definition at line 26 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 53 of file interface_statistics.py.
References interface_statistics.StatisticsCollector.node_statistics, interface_statistics.StatisticsCollector.visualizer, and visualizer.core.Node.visualizer.
def interface_statistics.StatisticsCollector.simulation_periodic_update | ( | self, | |
viz | |||
) |
Simulation Periodic Update function.
self | this object |
viz | visualizer object |
Definition at line 35 of file interface_statistics.py.
References interface_statistics.StatisticsCollector.node_statistics.
interface_statistics.StatisticsCollector.node_statistics |
node statistics
Definition at line 32 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 33 of file interface_statistics.py.
Referenced by olsr.ShowOlsrRoutingTable._response_cb(), ipv4_routing_table.ShowIpv4RoutingTable._response_cb(), interface_statistics.ShowInterfaceStatistics._response_cb(), show_last_packets.ShowLastPackets._response_cb(), interface_statistics.StatisticsCollector.get_interface_statistics(), and show_last_packets.ShowLastPackets.update().