A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
visualizer.core.Channel Class Reference

Channel. More...

+ Inheritance diagram for visualizer.core.Channel:
+ Collaboration diagram for visualizer.core.Channel:

Public Member Functions

 __init__ (self, channel)
 Initializer function.
 
 get_position (self)
 Initializer function.
 
 set_position (self, x, y)
 Initializer function.
 
- Public Member Functions inherited from visualizer.base.PyVizObject
 tooltip_query (self, tooltip)
 Returns tooltip text string.
 

Public Attributes

 canvas_item
 canvas
 
 channel
 channel
 
 links
 list of links
 

Detailed Description

Channel.

Definition at line 556 of file core.py.

Constructor & Destructor Documentation

◆ __init__()

visualizer.core.Channel.__init__ ( self,
channel )

Initializer function.

Parameters
selfclass object.
channelchannel.

Definition at line 564 of file core.py.

Member Function Documentation

◆ get_position()

visualizer.core.Channel.get_position ( self)

Initializer function.

Parameters
selfclass object.
Returns
x / y position.

Definition at line 599 of file core.py.

References visualizer.core.Channel.canvas_item, visualizer.core.Node.canvas_item, visualizer.core.WiredLink.canvas_item, and wifi_intrastructure_link.WifiLink.canvas_item.

Referenced by visualizer.core.Node._update_position().

+ Here is the caller graph for this function:

◆ set_position()

visualizer.core.Channel.set_position ( self,
x,
y )

Initializer function.

Parameters
selfclass object.
xx position.
yy position.
Returns

Definition at line 584 of file core.py.

References visualizer.core.Channel.canvas_item, visualizer.core.Node.canvas_item, visualizer.core.WiredLink.canvas_item, wifi_intrastructure_link.WifiLink.canvas_item, visualizer.core.Channel.links, and visualizer.core.Node.links.

Referenced by visualizer.core.Node._update_position().

+ Here is the caller graph for this function:

Member Data Documentation

◆ canvas_item

◆ channel

visualizer.core.Channel.channel

channel

Definition at line 571 of file core.py.

◆ links

visualizer.core.Channel.links

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