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
core.instruction.Split Class Reference

Split instruction. More...

Inheritance diagram for core.instruction.Split:
Inheritance graph

Public Member Functions

def __init__
 
def execute
 
def setKey
 Set the instruction address. More...
 
def __str__
 Return a string representation of this instruction. More...
 

Public Attributes

 totalInputs
 
 realInputs
 
 merge
 
 dest
 
 chunk
 
 key
 

Detailed Description

Split instruction.

This receives at least one input, which should be a compound data type. The argument sent to port 0 should be a compound data type.

Upon executing, the element at port 0 will be 'split', all of it's elements will be sent to port 0 of the destSink, with a new context. All of the other arguments will also be sent to the sink.

Upon reaching a context restore, the resulting tokens will each receive a port matching their index in the split array.

Constructor & Destructor Documentation

def core.instruction.Split.__init__ (   self,
  binds,
  dest,
  merge 
)

Member Function Documentation

def core.instruction.Split.execute (   self,
  tokens,
  core 
)
def core.instruction.Instruction.setKey (   self,
  key 
)
inherited

Set the instruction address.

def core.instruction.Instruction.__str__ (   self)
inherited

Return a string representation of this instruction.

Member Data Documentation

core.instruction.Split.totalInputs
core.instruction.Split.realInputs
core.instruction.Split.merge
core.instruction.Split.dest
core.instruction.Instruction.chunk
inherited
core.instruction.Instruction.key
inherited