![]() |
MAK Data Logger API Documentation for DIS
|
Class responsible for smoothing multiple input values and calculating an interpolated 'next' value. More...
Collaboration diagram for MAKLogger::DtValueSmoother:Public Member Functions | |
| DtValueSmoother (int valuesToBuffer, double init) | |
| ~DtValueSmoother () | |
| void | addValue (double value) |
| double | getSmoothedValue () |
| Get the next value. More... | |
Protected Attributes | |
| double * | myValues |
| int | myBufferSize |
Class responsible for smoothing multiple input values and calculating an interpolated 'next' value.
This assumes the values input are in a linear distribution.
|
inline |
|
inline |
|
inline |
|
inline |
Get the next value.
|
protected |
|
protected |