Dataflow Software Stack  032db78
Master Thesis of Mathijs Saey at the VUB
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
IGR.port.OutputPort Class Reference

Exit point of a node. More...

Inheritance diagram for IGR.port.OutputPort:
Inheritance graph

Public Member Functions

def __init__
 
def addTarget
 Add a target to this output port, has to be an input port. More...
 
def addTargets
 Add a list of targets to this output port. More...
 
def removeTarget
 Remove a target from the port. More...
 
def isConnected
 
def __str__
 Create a string version of the port. More...
 
def acceptsLiteral
 Returns true if this port accepts a literal. More...
 
def isPort
 See if this is a port (mainly for traversal) More...
 

Public Attributes

 targets
 
 node
 
 idx
 

Detailed Description

Exit point of a node.

An output port can be attached to many input ports of other nodes. Any data sent through the port is delivered to all of these.

Constructor & Destructor Documentation

def IGR.port.OutputPort.__init__ (   self,
  node,
  idx 
)

Member Function Documentation

def IGR.port.OutputPort.addTarget (   self,
  target 
)

Add a target to this output port, has to be an input port.

Parameters
targetThe target to add.
def IGR.port.OutputPort.addTargets (   self,
  targets 
)

Add a list of targets to this output port.

def IGR.port.OutputPort.removeTarget (   self,
  target 
)

Remove a target from the port.

Parameters
targetThe target to remove.
def IGR.port.OutputPort.isConnected (   self)
def IGR.port.Port.__str__ (   self)
inherited

Create a string version of the port.

Returns
A string representing this port. This string should not be used to recreate this port.
def IGR.port.Port.acceptsLiteral (   self)
inherited

Returns true if this port accepts a literal.

def IGR.port.Port.isPort (   self)
inherited

See if this is a port (mainly for traversal)

Member Data Documentation

IGR.port.OutputPort.targets
IGR.port.Port.node
inherited
IGR.port.Port.idx
inherited