sensorfw
hrmsensor_a.h
Go to the documentation of this file.
29#ifndef HRM_SENSOR_H
30#define HRM_SENSOR_H
31
32#include <QtDBus/QtDBus>
33#include <QObject>
34
35#include "datatypes/heartrate.h"
36#include "abstractsensor_a.h"
37
38class HrmSensorChannelAdaptor : public AbstractSensorChannelAdaptor
39{
40 Q_OBJECT
41 Q_DISABLE_COPY(HrmSensorChannelAdaptor)
42 Q_CLASSINFO("D-Bus Interface", "local.HrmSensor")
43 Q_PROPERTY(HeartRate heartRate READ heartRate)
44
45public:
46 HrmSensorChannelAdaptor(QObject* parent);
47
48public Q_SLOTS:
50
51Q_SIGNALS:
52 void HeartRateChanged(const HeartRate& value);
53};
54
55#endif
QObject facade for HeartRateData.
Definition: heartrate.h:37
HeartRate heartRate() const
HrmSensorChannelAdaptor(QObject *parent)
void HeartRateChanged(const HeartRate &value)
QObject based datatype for HeartRateData.