sensorfw: sensors/contextplugin/headingfilter.h Source File

sensorfw

headingfilter.h
Go to the documentation of this file.
1
25 #ifndef HEADINGFILTER_H
26 #define HEADINGFILTER_H
27
28 #include "filter.h"
29 #include "datatypes/orientationdata.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
CompassData
Datatype for compass measurements.
Definition: orientationdata.h:112
HeadingFilter
Definition: headingfilter.h:36
HeadingFilter::reset
void reset()
HeadingFilter::HeadingFilter
HeadingFilter(Property *headingProperty)
orientationdata.h
Datatypes for different filters.