A Discrete-Event Network Simulator
API
Public Member Functions | Public Attributes | List of all members
visualizer.core.Channel Class Reference

Channel. More...

+ Inheritance diagram for visualizer.core.Channel:

Public Member Functions

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

Public Attributes

 canvas_item
 canvas More...
 
 channel
 channel More...
 
 links
 list of links More...
 

Detailed Description

Channel.

Definition at line 508 of file core.py.

Constructor & Destructor Documentation

◆ __init__()

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

Initializer function.

Parameters
selfclass object.
channelchannel.
Returns
none

Definition at line 516 of file core.py.

Member Function Documentation

◆ get_position()

def visualizer.core.Channel.get_position (   self)

Initializer function.

Parameters
selfclass object.
Returns
x / y position.

Definition at line 548 of file core.py.

References visualizer.core.Node.canvas_item, and visualizer.core.Channel.canvas_item.

◆ set_position()

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

Initializer function.

Parameters
selfclass object.
xx position.
yy position.
Returns

Definition at line 533 of file core.py.

References visualizer.core.Node.canvas_item, visualizer.core.Channel.canvas_item, visualizer.core.Node.links, and visualizer.core.Channel.links.

Member Data Documentation

◆ canvas_item

visualizer.core.Channel.canvas_item

◆ channel

visualizer.core.Channel.channel

channel

Definition at line 524 of file core.py.

◆ links

visualizer.core.Channel.links

list of links

Definition at line 531 of file core.py.

Referenced by visualizer.core.Channel.set_position().


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