Arith

class Arith
proc

void (shared message field) Shared message for process and reinit

setFunction()

(destination message field) Assigns field value.

getFunction()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setOutputValue()

(destination message field) Assigns field value.

getOutputValue()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

getArg1Value()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setAnyValue()

(destination message field) Assigns field value.

getAnyValue()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

arg1()

(destination message field) Handles argument 1. This just assigns it

arg2()

(destination message field) Handles argument 2. This just assigns it

arg3()

(destination message field) Handles argument 3. This sums in each input, and clears each clock tick.

arg1x2()

(destination message field) Store the product of the two arguments in output_

process()

(destination message field) Handles process call

reinit()

(destination message field) Handles reinit call

output

double (source message field) Sends out the computed value

function

string (value field) Arithmetic function to perform on inputs.

outputValue

double (value field) Value of output as computed last timestep.

arg1Value

double (value field) Value of arg1 as computed last timestep.

anyValue

unsigned int,double (lookup field) Value of any of the internal fields, output, arg1, arg2, arg3,as specified by the index argument from 0 to 3.