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) | 
| Initializer.   | |
| def | update (self) | 
| Update function.   | |
| def | update (self) | 
| update function   | |
Public Attributes | |
| node_index | |
| node index   | |
| statistics_collector | |
| statistics collector   | |
| table_model | |
| table model   | |
| visualizer | |
| visualizer   | |
| viz_node | |
| visualizer node   | |
| win | |
| window   | |
Protected Member Functions | |
| def | _response_cb (self, win, response) | 
| Response callback function.   | |
ShowInterfaceStatistics class.
Definition at line 107 of file interface_statistics.py.
| def interface_statistics.ShowInterfaceStatistics.__init__ | ( | self, | |
| visualizer, | |||
| node_index, | |||
| statistics_collector | |||
| ) | 
Initializer.
| self | this object | 
| visualizer | the visualizer object | 
| node_index | the node index | 
| statistics_collector | statistics collector class | 
Definition at line 152 of file interface_statistics.py.
      
  | 
  protected | 
Response callback function.
_response_cb function
| self | this object | 
| win | the window | 
| response | the response | 
Definition at line 198 of file interface_statistics.py.
References visualizer.core.Node.visualizer, interface_statistics.StatisticsCollector.visualizer, interface_statistics.ShowInterfaceStatistics.visualizer, ipv4_routing_table.ShowIpv4RoutingTable.visualizer, olsr.ShowOlsrRoutingTable.visualizer, show_last_packets.ShowLastPackets.visualizer, interface_statistics.ShowInterfaceStatistics.win, ipv4_routing_table.ShowIpv4RoutingTable.win, olsr.ShowOlsrRoutingTable.win, and show_last_packets.ShowLastPackets.win.
| def interface_statistics.ShowInterfaceStatistics.update | ( | self | ) | 
Update function.
| self | this object | 
Reimplemented from visualizer.base.InformationWindow.
Definition at line 209 of file interface_statistics.py.
References visualizer.core.Node.node_index, interface_statistics.ShowInterfaceStatistics.node_index, ipv4_routing_table.ShowIpv4RoutingTable.node_index, olsr.ShowOlsrRoutingTable.node_index, interface_statistics.ShowInterfaceStatistics.statistics_collector, interface_statistics.ShowInterfaceStatistics.table_model, ipv4_routing_table.ShowIpv4RoutingTable.table_model, olsr.ShowOlsrRoutingTable.table_model, and show_last_packets.ShowLastPackets.PacketList.table_model.
| interface_statistics.ShowInterfaceStatistics.node_index | 
node index
Definition at line 170 of file interface_statistics.py.
Referenced by visualizer.core.Node.has_mobility(), visualizer.core.Node.tooltip_query(), interface_statistics.ShowInterfaceStatistics.update(), ipv4_routing_table.ShowIpv4RoutingTable.update(), and olsr.ShowOlsrRoutingTable.update().
| interface_statistics.ShowInterfaceStatistics.statistics_collector | 
statistics collector
Definition at line 169 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
| interface_statistics.ShowInterfaceStatistics.table_model | 
table model
Definition at line 173 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update(), ipv4_routing_table.ShowIpv4RoutingTable.update(), olsr.ShowOlsrRoutingTable.update(), and show_last_packets.ShowLastPackets.PacketList.update().
| interface_statistics.ShowInterfaceStatistics.visualizer | 
visualizer
Definition at line 168 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().
| interface_statistics.ShowInterfaceStatistics.viz_node | 
visualizer node
Definition at line 171 of file interface_statistics.py.
| interface_statistics.ShowInterfaceStatistics.win | 
window
Definition at line 161 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics._response_cb(), ipv4_routing_table.ShowIpv4RoutingTable._response_cb(), olsr.ShowOlsrRoutingTable._response_cb(), and show_last_packets.ShowLastPackets._response_cb().