ShowInterfaceStatistics class. More...
Inheritance diagram for interface_statistics.ShowInterfaceStatistics:
Collaboration diagram for interface_statistics.ShowInterfaceStatistics:Public Member Functions | |
| def | __init__ (self, visualizer, node_index, statistics_collector) |
| def | update (self) |
| Update function. More... | |
Public Member Functions inherited from visualizer.base.InformationWindow | |
| def | update (self) |
| update function More... | |
Public Attributes | |
| node_index | |
| node index More... | |
| statistics_collector | |
| statistics collector More... | |
| table_model | |
| table model More... | |
| visualizer | |
| visualizer More... | |
| viz_node | |
| visualizer node More... | |
| win | |
| window More... | |
Private Member Functions | |
| def | _response_cb (self, win, response) |
| Response callback function. More... | |
ShowInterfaceStatistics class.
Definition at line 97 of file interface_statistics.py.
| def interface_statistics.ShowInterfaceStatistics.__init__ | ( | self, | |
| visualizer, | |||
| node_index, | |||
| statistics_collector | |||
| ) |
Initializer. @param self this object @param visualizer the visualizer object @param node_index the node index @param statistics_collector statistics collector class
Definition at line 125 of file interface_statistics.py.
|
private |
Response callback function.
| self | this object |
| win | the window |
| response | the response |
Definition at line 169 of file interface_statistics.py.
References interface_statistics.StatisticsCollector.visualizer, visualizer.core.Node.visualizer, interface_statistics.ShowInterfaceStatistics.visualizer, and interface_statistics.ShowInterfaceStatistics.win.
| def interface_statistics.ShowInterfaceStatistics.update | ( | self | ) |
Update function.
| self | this object |
Definition at line 180 of file interface_statistics.py.
References visualizer.core.Node.node_index, interface_statistics.ShowInterfaceStatistics.node_index, interface_statistics.ShowInterfaceStatistics.statistics_collector, and interface_statistics.ShowInterfaceStatistics.table_model.
| interface_statistics.ShowInterfaceStatistics.node_index |
node index
Definition at line 141 of file interface_statistics.py.
Referenced by olsr.ShowOlsrRoutingTable.update(), ipv4_routing_table.ShowIpv4RoutingTable.update(), and interface_statistics.ShowInterfaceStatistics.update().
| interface_statistics.ShowInterfaceStatistics.statistics_collector |
statistics collector
Definition at line 140 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
| interface_statistics.ShowInterfaceStatistics.table_model |
table model
Definition at line 144 of file interface_statistics.py.
Referenced by show_last_packets.ShowLastPackets.PacketList.update(), olsr.ShowOlsrRoutingTable.update(), ipv4_routing_table.ShowIpv4RoutingTable.update(), and interface_statistics.ShowInterfaceStatistics.update().
| interface_statistics.ShowInterfaceStatistics.visualizer |
visualizer
Definition at line 139 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(), and show_last_packets.ShowLastPackets.update().
| interface_statistics.ShowInterfaceStatistics.viz_node |
visualizer node
Definition at line 142 of file interface_statistics.py.
| interface_statistics.ShowInterfaceStatistics.win |
window
Definition at line 134 of file interface_statistics.py.
Referenced by olsr.ShowOlsrRoutingTable._response_cb(), ipv4_routing_table.ShowIpv4RoutingTable._response_cb(), interface_statistics.ShowInterfaceStatistics._response_cb(), and show_last_packets.ShowLastPackets._response_cb().