sensorfw: sensors/contextplugin/compassbin.h Source File

sensorfw

compassbin.h
Go to the documentation of this file.
1
25#ifndef COMPASS_BIN_H
26#define COMPASS_BIN_H
27
28#include "bin.h"
29#include "bufferreader.h"
30#include "datatypes/orientationdata.h"
31
32#include "headingfilter.h"
33
34#include <ContextProvider>
35
36class AbstractChain;
37
38 class CompassBin : public QObject, Bin
39{
40 Q_OBJECT
41
42public:
43 CompassBin(ContextProvider::Service& service, bool pluginValid = true);
44 ~CompassBin();
45
46private Q_SLOTS:
47 void startRun();
48 void stopRun();
49
50private:
51 Property headingProperty;
52
53 AbstractChain* compassChain;
54 BufferReader<CompassData> compassReader;
55 HeadingFilter headingFilter;
56
57 int sessionId;
58};
59
60#endif
BufferReader< CompassData >
CompassBin
Definition: compassbin.h:39
CompassBin::~CompassBin
~CompassBin()
CompassBin::CompassBin
CompassBin(ContextProvider::Service &service, bool pluginValid=true)
HeadingFilter
Definition: headingfilter.h:36
headingfilter.h
HeadingFilter.
orientationdata.h
Datatypes for different filters.