sensorfw
orientationsensor_a.h
Go to the documentation of this file.
27#ifndef ORIENTATION_SENSOR_H
28#define ORIENTATION_SENSOR_H
29
30#include <QtDBus/QtDBus>
31
33#include "datatypes/unsigned.h"
34#include "abstractsensor_a.h"
35
36class OrientationSensorChannelAdaptor : public AbstractSensorChannelAdaptor
37{
38 Q_OBJECT
40 Q_CLASSINFO("D-Bus Interface", "local.OrientationSensor")
41 Q_PROPERTY(Unsigned orientation READ orientation)
42 Q_PROPERTY(int threshold READ threshold WRITE setThreshold)
43
44public:
46
47public Q_SLOTS:
49 int threshold() const;
50 void setThreshold(int value);
51
52Q_SIGNALS:
54};
55
56#endif
OrientationSensorChannelAdaptor(QObject *parent)
void orientationChanged(const Unsigned &orientation)
QObject facae for TimedUnsigned.
Definition: unsigned.h:37
QObject based datatype for OrientationData.
QObject based datatype for TimedUnsigned.