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... | |
WifiLink class.
Definition at line 8 of file wifi_intrastructure_link.py.
def wifi_intrastructure_link.WifiLink.__init__ | ( | self, | |
parent_canvas_item, | |||
sta, | |||
dev | |||
) |
Initialize function.
self | The object pointer. |
parent_canvas_item | parent canvas |
sta | The STA node |
dev | The dev |
Definition at line 21 of file wifi_intrastructure_link.py.
def wifi_intrastructure_link.WifiLink.destroy | ( | self | ) |
Destroy function.
self | The object pointer. |
Definition at line 80 of file wifi_intrastructure_link.py.
References visualizer.core.Node.canvas_item, visualizer.core.Channel.canvas_item, visualizer.core.WiredLink.canvas_item, wifi_intrastructure_link.WifiLink.canvas_item, DualStackTestCase.node1, visualizer.core.WiredLink.node1, wifi_intrastructure_link.WifiLink.node1, visualizer.core.WiredLink.node2, and wifi_intrastructure_link.WifiLink.node2.
def wifi_intrastructure_link.WifiLink.set_ap | ( | self, | |
ap | |||
) |
Set AP.
self | The object pointer. |
ap | The AP node |
Definition at line 47 of file wifi_intrastructure_link.py.
References visualizer.core.Node.canvas_item, visualizer.core.Channel.canvas_item, visualizer.core.WiredLink.canvas_item, wifi_intrastructure_link.WifiLink.canvas_item, visualizer.core.WiredLink.node2, wifi_intrastructure_link.WifiLink.node2, visualizer.core.WiredLink.update_points(), and wifi_intrastructure_link.WifiLink.update_points().
def wifi_intrastructure_link.WifiLink.tooltip_query | ( | self, | |
tooltip | |||
) |
Destroy function.
self | The object pointer. |
tooltip | The 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().
def wifi_intrastructure_link.WifiLink.update_points | ( | self | ) |
Update points function.
self | The object pointer. |
Definition at line 65 of file wifi_intrastructure_link.py.
References wifi_intrastructure_link.WifiLink.invisible_line, DualStackTestCase.node1, visualizer.core.WiredLink.node1, wifi_intrastructure_link.WifiLink.node1, visualizer.core.WiredLink.node2, wifi_intrastructure_link.WifiLink.node2, and wifi_intrastructure_link.WifiLink.visible_line.
Referenced by wifi_intrastructure_link.WifiLink.set_ap().
wifi_intrastructure_link.WifiLink.canvas_item |
parent_canvas_item
Definition at line 32 of file wifi_intrastructure_link.py.
Referenced by visualizer.core.Node._update_appearance(), wifi_intrastructure_link.WifiLink.destroy(), visualizer.core.Node.get_position(), visualizer.core.Channel.get_position(), wifi_intrastructure_link.WifiLink.set_ap(), visualizer.core.Node.set_position(), visualizer.core.Channel.set_position(), visualizer.core.Node.set_svg_icon(), and visualizer.core.WiredLink.update_points().
wifi_intrastructure_link.WifiLink.dev |
dev
Definition at line 30 of file wifi_intrastructure_link.py.
Referenced by wifi_intrastructure_link.WifiLink.tooltip_query().
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().
wifi_intrastructure_link.WifiLink.node1 |
sta
Definition at line 29 of file wifi_intrastructure_link.py.
Referenced by wifi_intrastructure_link.WifiLink.destroy(), wifi_intrastructure_link.WifiLink.tooltip_query(), visualizer.core.WiredLink.update_points(), and wifi_intrastructure_link.WifiLink.update_points().
wifi_intrastructure_link.WifiLink.node2 |
ap
Definition at line 31 of file wifi_intrastructure_link.py.
Referenced by wifi_intrastructure_link.WifiLink.destroy(), wifi_intrastructure_link.WifiLink.set_ap(), wifi_intrastructure_link.WifiLink.tooltip_query(), visualizer.core.WiredLink.update_points(), and wifi_intrastructure_link.WifiLink.update_points().
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().