sensorfw
headingfilter.h
Go to the documentation of this file.
1 
25 #ifndef HEADINGFILTER_H
26 #define HEADINGFILTER_H
27 
28 #include "filter.h"
30 
31 #include <ContextProvider>
32 
33 using ContextProvider::Property;
34 
35 class HeadingFilter : public QObject, public Filter<CompassData, HeadingFilter, CompassData>
36 {
37  Q_OBJECT
38 
39 public:
40  HeadingFilter(Property* headingProperty);
41  void reset();
42 
43 private:
44  Property* headingProperty;
45  void interpret(unsigned, const CompassData* data);
46 };
47 
48 #endif
Datatypes for different filters.
Datatype for compass measurements.
HeadingFilter(Property *headingProperty)