A Discrete-Event Network Simulator
API
wifi_intrastructure_link.WifiLink Class Reference

WifiLink class. More...

+ Inheritance diagram for wifi_intrastructure_link.WifiLink:
+ Collaboration diagram for wifi_intrastructure_link.WifiLink:

Public Member Functions

def __init__ (self, parent_canvas_item, sta, dev)
 Initialize function. More...
 
def destroy (self)
 Destroy function. More...
 
def set_ap (self, ap)
 Set AP. More...
 
def tooltip_query (self, tooltip)
 Destroy function. More...
 
def update_points (self)
 Update points function. More...
 

Public Attributes

 canvas_item
 parent_canvas_item More...
 
 dev
 dev More...
 
 invisible_line
 invisible line More...
 
 node1
 sta More...
 
 node2
 ap More...
 
 visible_line
 visible line More...
 

Detailed Description

WifiLink class.

Definition at line 8 of file wifi_intrastructure_link.py.

Constructor & Destructor Documentation

◆ __init__()

def wifi_intrastructure_link.WifiLink.__init__ (   self,
  parent_canvas_item,
  sta,
  dev 
)

Initialize function.

Parameters
selfThe object pointer.
parent_canvas_itemparent canvas
staThe STA node
devThe dev

Definition at line 21 of file wifi_intrastructure_link.py.

Member Function Documentation

◆ destroy()

◆ set_ap()

def wifi_intrastructure_link.WifiLink.set_ap (   self,
  ap 
)

◆ tooltip_query()

def wifi_intrastructure_link.WifiLink.tooltip_query (   self,
  tooltip 
)

Destroy function.

Parameters
selfThe object pointer.
tooltipThe tooltip.
Returns
tooltip

Reimplemented from visualizer.base.PyVizObject.

Definition at line 89 of file wifi_intrastructure_link.py.

References wifi_intrastructure_link.WifiLink.dev, DualStackTestCase.node1, visualizer.core.WiredLink.node1, wifi_intrastructure_link.WifiLink.node1, visualizer.core.WiredLink.node2, wifi_intrastructure_link.WifiLink.node2, and visualizer.base.transform_distance_canvas_to_simulation().

+ Here is the call graph for this function:

◆ update_points()

def wifi_intrastructure_link.WifiLink.update_points (   self)

Member Data Documentation

◆ canvas_item

◆ dev

wifi_intrastructure_link.WifiLink.dev

◆ invisible_line

wifi_intrastructure_link.WifiLink.invisible_line

invisible line

Definition at line 33 of file wifi_intrastructure_link.py.

Referenced by wifi_intrastructure_link.WifiLink.update_points().

◆ node1

◆ node2

◆ visible_line

wifi_intrastructure_link.WifiLink.visible_line

visible line

Definition at line 36 of file wifi_intrastructure_link.py.

Referenced by wifi_intrastructure_link.WifiLink.update_points().


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