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.OperationInstruction Class Reference

An operation instruction defines a single operation on all of it's inputs. More...

Inheritance diagram for core.instruction.OperationInstruction:
Inheritance graph

Public Member Functions

def __init__
 
def addLiteral
 
def createArgLst
 Replace all empty places in the argument list by literals, extract the datum from tokens and get the context from one of the tokens. More...
 
def execute
 
def setKey
 Set the instruction address. More...
 
def __str__
 Return a string representation of this instruction. More...
 
def addDestination
 
def sendDatum
 

Public Attributes

 totalInputs
 
 realInputs
 
 operation
 
 litLst
 
 chunk
 
 key
 
 destinations
 

Detailed Description

An operation instruction defines a single operation on all of it's inputs.

Constructor & Destructor Documentation

def core.instruction.OperationInstruction.__init__ (   self,
  operation,
  inputs 
)

Member Function Documentation

def core.instruction.OperationInstruction.addLiteral (   self,
  port,
  val 
)
def core.instruction.OperationInstruction.createArgLst (   self,
  args 
)

Replace all empty places in the argument list by literals, extract the datum from tokens and get the context from one of the tokens.

def core.instruction.OperationInstruction.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.

def core.instruction.DestinationList.addDestination (   self,
  _,
  inst,
  port 
)
inherited
def core.instruction.DestinationList.sendDatum (   self,
  datum,
  core,
  _,
  cont 
)
inherited

Member Data Documentation

core.instruction.OperationInstruction.totalInputs
core.instruction.OperationInstruction.realInputs
core.instruction.OperationInstruction.operation
core.instruction.OperationInstruction.litLst
core.instruction.Instruction.chunk
inherited
core.instruction.Instruction.key
inherited
core.instruction.DestinationList.destinations
inherited