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.  More... | |
| def | update (self) | 
| Update function.  More... | |
| 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 94 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 122 of file interface_statistics.py.
      
  | 
  private | 
Response callback function.
| self | this object | 
| win | the window | 
| response | the response | 
Definition at line 166 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 177 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 138 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 137 of file interface_statistics.py.
Referenced by interface_statistics.ShowInterfaceStatistics.update().
| interface_statistics.ShowInterfaceStatistics.table_model | 
table model
Definition at line 141 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 136 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 139 of file interface_statistics.py.
| interface_statistics.ShowInterfaceStatistics.win | 
window
Definition at line 131 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().