A Discrete-Event Network Simulator
API
interface_statistics.ShowInterfaceStatistics Class Reference

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...
 

Detailed Description

ShowInterfaceStatistics class.

Definition at line 97 of file interface_statistics.py.

Constructor & Destructor Documentation

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.

Member Function Documentation

def interface_statistics.ShowInterfaceStatistics._response_cb (   self,
  win,
  response 
)
private

Response callback function.

Parameters
selfthis object
winthe window
responsethe response
Returns
none

Definition at line 169 of file interface_statistics.py.

def interface_statistics.ShowInterfaceStatistics.update (   self)

Update function.

Parameters
selfthis object
Returns
none

Definition at line 180 of file interface_statistics.py.

References visualizer.core.Node.node_index, and interface_statistics.ShowInterfaceStatistics.node_index.

Member Data Documentation

interface_statistics.ShowInterfaceStatistics.node_index
interface_statistics.ShowInterfaceStatistics.statistics_collector

statistics collector

Definition at line 140 of file interface_statistics.py.

interface_statistics.ShowInterfaceStatistics.table_model

table model

Definition at line 144 of file interface_statistics.py.

interface_statistics.ShowInterfaceStatistics.visualizer

visualizer

Definition at line 139 of file interface_statistics.py.

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.


The documentation for this class was generated from the following file: