A Discrete-Event Network Simulator
API
Public Member Functions | Public Attributes | Private Member Functions | List of all members
interface_statistics.ShowInterfaceStatistics Class Reference

ShowInterfaceStatistics class. More...

+ Inheritance 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

◆ __init__()

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

◆ _response_cb()

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.

References interface_statistics.StatisticsCollector.visualizer, visualizer.core.Node.visualizer, interface_statistics.ShowInterfaceStatistics.visualizer, and interface_statistics.ShowInterfaceStatistics.win.

◆ update()

def interface_statistics.ShowInterfaceStatistics.update (   self)

Member Data Documentation

◆ node_index

interface_statistics.ShowInterfaceStatistics.node_index

◆ statistics_collector

interface_statistics.ShowInterfaceStatistics.statistics_collector

statistics collector

Definition at line 140 of file interface_statistics.py.

Referenced by interface_statistics.ShowInterfaceStatistics.update().

◆ table_model

interface_statistics.ShowInterfaceStatistics.table_model

◆ visualizer

interface_statistics.ShowInterfaceStatistics.visualizer

◆ viz_node

interface_statistics.ShowInterfaceStatistics.viz_node

visualizer node

Definition at line 142 of file interface_statistics.py.

◆ win

interface_statistics.ShowInterfaceStatistics.win

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