sensorfw
compasssensor_a.h
Go to the documentation of this file.
27#ifndef COMPASS_SENSOR_H
28#define COMPASS_SENSOR_H
29
30#include <QtDBus/QtDBus>
31#include "abstractsensor_a.h"
32#include "datatypes/compass.h"
33
34class CompassSensorChannelAdaptor : public AbstractSensorChannelAdaptor
35{
36 Q_OBJECT
37 Q_DISABLE_COPY(CompassSensorChannelAdaptor)
38 Q_CLASSINFO("D-Bus Interface", "local.CompassSensor")
39 Q_PROPERTY(Compass value READ value)
40 Q_PROPERTY(int declinationValue READ declinationValue)
41
42public:
44
45public Q_SLOTS:
46 Compass value() const;
47 int declinationValue() const;
48
49Q_SIGNALS:
51};
52
53#endif
void dataAvailable(const Compass &value)
CompassSensorChannelAdaptor(QObject *parent)
QObject facade for CompassData.
Definition: compass.h:38
QObject based datatype for CompassData.