sensorfw
stepcountersensor_a.h
Go to the documentation of this file.
29#ifndef STEPCOUNTER_SENSOR_H
30#define STEPCOUNTER_SENSOR_H
31
32#include <QtDBus/QtDBus>
33#include <QObject>
34
35#include "datatypes/unsigned.h"
36#include "abstractsensor_a.h"
37
38class StepCounterSensorChannelAdaptor : public AbstractSensorChannelAdaptor
39{
40 Q_OBJECT
42 Q_CLASSINFO("D-Bus Interface", "local.StepCounterSensor")
43 Q_PROPERTY(Unsigned steps READ steps)
44
45public:
47
48public Q_SLOTS:
49 Unsigned steps() const;
50
51Q_SIGNALS:
52 void StepCounterChanged(const Unsigned& value);
53};
54
55#endif
StepCounterSensorChannelAdaptor(QObject *parent)
void StepCounterChanged(const Unsigned &value)
QObject facae for TimedUnsigned.
Definition: unsigned.h:37
QObject based datatype for TimedUnsigned.