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
MovingFilter(Engine &engine=Engine::primary())
Constructor.
Definition MovingFilter.cpp:24
virtual void reset()
Resets the filter.
Definition Smoother.cpp:38
Smoother(Engine &engine=Engine::primary())
Constructor with default smoothing.
Definition Smoother.cpp:27
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 void timeWindow(float seconds)
Changes the time window (expressed in seconds).
Definition TimeWindowable.cpp:40
Engine * engine() const
Returns the engine that owns this unit.
Definition PqCore.h:420