Go to the documentation of this file.00001
00025 #ifndef COMPASS_BIN_H
00026 #define COMPASS_BIN_H
00027
00028 #include "bin.h"
00029 #include "bufferreader.h"
00030 #include "datatypes/orientationdata.h"
00031
00032 #include "headingfilter.h"
00033
00034 #include <ContextProvider>
00035
00036 class AbstractChain;
00037
00038 class CompassBin : public QObject, Bin
00039 {
00040 Q_OBJECT
00041
00042 public:
00043 CompassBin(ContextProvider::Service& service, bool pluginValid = true);
00044 ~CompassBin();
00045
00046 private Q_SLOTS:
00047 void startRun();
00048 void stopRun();
00049
00050 private:
00051 Property headingProperty;
00052
00053 AbstractChain* compassChain;
00054 BufferReader<CompassData> compassReader;
00055 HeadingFilter headingFilter;
00056
00057 int sessionId;
00058 };
00059
00060 #endif