25#ifndef STABILITYFILTER_H
26#define STABILITYFILTER_H
30#include <ContextProvider>
48using ContextProvider::Property;
50class StabilityFilter :
public QObject,
public Filter<QPair<double, double>, StabilityFilter, QPair<double, double> >
56 double lowThreshold,
double highThreshold,
double hysteresis = 0.0);
65 Property* stableProperty;
66 Property* unstableProperty;
67 void interpret(
unsigned,
const QPair<double, double>* data);
71 static const int defaultTimeout;
Filter for providing the Orientation.IsStable context property.
StabilityFilter(Property *stableProperty, Property *unstableProperty, double lowThreshold, double highThreshold, double hysteresis=0.0)