25#include "MovingFilter.h"
50 virtual void reset(
float estimatedMeanValue);
53 virtual void reset(
float estimatedMinValue,
float estimatedMaxValue);
60 virtual float put(
float value);
63 virtual float filter(
float value);
69 float _currentValueStep;
The main Plaquette static class containing all the units.
Definition PqCore.h:63
static Engine & primary()
Returns the main instance of Plaquette.
Definition PqCore.cpp:30
Definition MovingFilter.h:39
Simple moving average transform filter.
Definition Smoother.h:30
virtual void reset()
Resets the filter.
Definition Smoother.cpp:38
virtual float filter(float value)
Returns the filtered value (without calibrating).
Definition Smoother.cpp:88
virtual float put(float value)
Pushes value into the unit.
Definition Smoother.cpp:53
virtual float timeWindow() const
Returns the time window (expressed in seconds).
Definition TimeWindowable.h:45
Engine * engine() const
Returns the engine that owns this unit.
Definition PqCore.h:420