sensorfw
rotationsensor_a.h
Go to the documentation of this file.
1
27
#ifndef ROTATION_SENSOR_H
28
#define ROTATION_SENSOR_H
29
30
#include <QtDBus/QtDBus>
31
32
#include "
datatypes/xyz.h
"
33
#include "abstractsensor_a.h"
34
35
class
RotationSensorChannelAdaptor
:
public
AbstractSensorChannelAdaptor
36
{
37
Q_OBJECT
38
Q_DISABLE_COPY(
RotationSensorChannelAdaptor
)
39
Q_CLASSINFO(
"D-Bus Interface"
,
"local.RotationSensor"
)
40
Q_PROPERTY(
XYZ
rotation
READ
rotation
)
41
Q_PROPERTY(
bool
hasZ
READ
hasZ
)
42
43
public:
44
RotationSensorChannelAdaptor
(QObject* parent);
45
46
public Q_SLOTS:
47
XYZ
rotation
() const;
48
bool
hasZ
() const;
49
50
Q_SIGNALS:
51
void
dataAvailable
(const
XYZ
& data);
52
};
53
54
#endif
RotationSensorChannelAdaptor::hasZ
bool hasZ() const
xyz.h
QObject based datatype for TimedXYZData.
RotationSensorChannelAdaptor::rotation
XYZ rotation() const
XYZ
QObject facade for #TimedXYZData.
Definition:
xyz.h:36
RotationSensorChannelAdaptor
Definition:
rotationsensor_a.h:35
RotationSensorChannelAdaptor::dataAvailable
void dataAvailable(const XYZ &data)
sensors
rotationsensor
rotationsensor_a.h
Generated by
1.8.14