Add class public functions

Add
~Add
action
clear
output
printState

Additional functions inherited from Filter.


Add(void);
Sets the name to "Add", and sets the output value to 0.

~Add();
Does nothing.

void action(void);
Adds all input signals for output().

void clear(void);
Sets the output value to zero.

sampleType output(int index = 0);
Returns the sum of the connected input signals. index does not have any significance.

void printState(void);
Prints the input signal values.