sensorfw
gyroscopesensor_a.h
Go to the documentation of this file.
28#ifndef GYROSCOPE_SENSOR_H
29#define GYROSCOPE_SENSOR_H
30
31#include <QtDBus/QtDBus>
32
33#include "abstractsensor_a.h"
35#include "datatypes/xyz.h"
36
37class GyroscopeSensorChannelAdaptor : public AbstractSensorChannelAdaptor
38{
39 Q_OBJECT
40 Q_DISABLE_COPY(GyroscopeSensorChannelAdaptor)
41 Q_CLASSINFO("D-Bus Interface", "local.GyroscopeSensor")
42 Q_PROPERTY(XYZ value READ value)
43
44public:
46
47public Q_SLOTS:
48 XYZ value() const;
49
50Q_SIGNALS:
51 void dataAvailable(const XYZ& data);
52};
53
54#endif
void dataAvailable(const XYZ &data)
GyroscopeSensorChannelAdaptor(QObject *parent)
QObject facade for XYZData.
Definition: xyz.h:37
Datatypes for different filters.
QObject based datatype for TimedXYZData.