sensorfw
wristgesturesensor_a.h
Go to the documentation of this file.
1
29
#ifndef WRISTGESTURE_SENSOR_H
30
#define WRISTGESTURE_SENSOR_H
31
32
#include <QtDBus/QtDBus>
33
34
#include "
datatypes/unsigned.h
"
35
#include "abstractsensor_a.h"
36
37
class
WristGestureSensorChannelAdaptor
:
public
AbstractSensorChannelAdaptor
38
{
39
Q_OBJECT
40
Q_DISABLE_COPY(
WristGestureSensorChannelAdaptor
)
41
Q_CLASSINFO(
"D-Bus Interface"
,
"local.WristGestureSensor"
)
42
Q_PROPERTY(
Unsigned
wristgesture
READ
wristgesture
)
43
Q_PROPERTY(
int
threshold
READ
threshold
WRITE
setThreshold
)
44
45
public:
46
WristGestureSensorChannelAdaptor
(QObject* parent);
47
48
public Q_SLOTS:
49
Unsigned
wristgesture
() const;
50
int
threshold
() const;
51
void
setThreshold
(
int
value);
52
53
Q_SIGNALS:
54
void
wristgestureChanged
(const
Unsigned
&
wristgesture
);
55
};
56
57
#endif
Unsigned
QObject facae for TimedUnsigned.
Definition
unsigned.h:37
WristGestureSensorChannelAdaptor
Definition
wristgesturesensor_a.h:38
WristGestureSensorChannelAdaptor::wristgestureChanged
void wristgestureChanged(const Unsigned &wristgesture)
WristGestureSensorChannelAdaptor::setThreshold
void setThreshold(int value)
WristGestureSensorChannelAdaptor::threshold
int threshold
Definition
wristgesturesensor_a.h:43
WristGestureSensorChannelAdaptor::wristgesture
Unsigned wristgesture
Definition
wristgesturesensor_a.h:42
unsigned.h
QObject based datatype for TimedUnsigned.
sensors
wristgesturesensor
wristgesturesensor_a.h
Generated by
1.11.0