sensorfw: sensors/gyroscopesensor/gyroscopesensor_a.h Source File

sensorfw

gyroscopesensor_a.h
Go to the documentation of this file.
1
28#ifndef GYROSCOPE_SENSOR_H
29#define GYROSCOPE_SENSOR_H
30
31#include <QtDBus/QtDBus>
32
33#include "abstractsensor_a.h"
34#include "datatypes/orientationdata.h"
35#include "datatypes/xyz.h"
36
37 class 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:
45 GyroscopeSensorChannelAdaptor(QObject* parent);
46
47public Q_SLOTS:
48 XYZ value() const;
49
50Q_SIGNALS:
51 void dataAvailable(const XYZ& data);
52};
53
54#endif
GyroscopeSensorChannelAdaptor
Definition gyroscopesensor_a.h:38
GyroscopeSensorChannelAdaptor::dataAvailable
void dataAvailable(const XYZ &data)
GyroscopeSensorChannelAdaptor::value
XYZ value
Definition gyroscopesensor_a.h:42
XYZ
QObject facade for XYZData.
Definition xyz.h:39
orientationdata.h
Datatypes for different filters.
xyz.h
QObject based datatype for TimedXYZData.