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

An instruction that inherits from this class promises to send it's output to a destination that can be added through the addDestination method. More...

Inheritance diagram for core.instruction.Destination:
Inheritance graph

Public Member Functions

def addDestination
 Add a destination to this instruction. More...
 
def sendDatum
 Send a datum to any destination of a given output port. More...
 

Detailed Description

An instruction that inherits from this class promises to send it's output to a destination that can be added through the addDestination method.

Member Function Documentation

def core.instruction.Destination.addDestination (   self,
  outPort,
  inst,
  toPort 
)

Add a destination to this instruction.

Parameters
portThe output port to link from
toInstThe instruction to send to
toPortThe port on this instruction to send to.
def core.instruction.Destination.sendDatum (   self,
  datum,
  core,
  port,
  cont 
)

Send a datum to any destination of a given output port.

Parameters
datumThe piece of data to send.
coreThe currently active core.
portThe port that we send outputs from.
contThe context of the output.