#include <ProcBasic.hh>
Inherits DataProcessor.
This class implements a basic data source processor which outputs constant values. The number of outputs can be chosen in the constructor. The values can be set through the class interface and are all initialized to 0.0.
The names of the output channels can be reconfigured using one of the constructors.
Outputs:
"output0", "output1", ... : constant outputs
Public Member Functions | |
| ProcSource (const char *name, int index, int outputs, const char **chan) | |
| ProcSource (const char *name, int index, int outputs) | |
| ProcSource (const char *name, int index) | |
| ProcFloat | getValue (unsigned int output) |
| void | setValue (unsigned int output, ProcFloat value) |
| void | setValue (ProcFloat value) |
| virtual void | update (void) |
|
|
This method can be used to retrieve the constant values output on the specified channel. |
|
|
This method can be used to set the constant value output on the channel "output0". It is provided as a convenience function for instances with only one output. |
|
||||||||||||
|
This method can be used to set the constant value output by a channel on the processor. |