sensorfw
magnetometerscalefilter.h
Go to the documentation of this file.
1 
26 #ifndef MAGNETOMETERSCALEFILTER_H
27 #define MAGNETOMETERSCALEFILTER_H
28 
29 #include "orientationdata.h"
30 #include "filter.h"
31 
38 class MagnetometerScaleFilter : public QObject, public Filter<CalibratedMagneticFieldData, MagnetometerScaleFilter, CalibratedMagneticFieldData>
39 {
40  Q_OBJECT;
41 
42 public:
43 
48  static FilterBase* factoryMethod() {
49  return new MagnetometerScaleFilter;
50  }
51 
52 protected:
53 
55 
56 private:
57  void filter(unsigned, const CalibratedMagneticFieldData*);
58 
59  int factor;
60 };
61 
62 #endif
static FilterBase * factoryMethod()
Factory method.
Datatype for calibrated magnetometer measurements.
Datatypes for different filters.
Scaling filter for CalibratedMagneticFieldData.