sensorfw: sensors/humiditysensor/humiditysensor_a.h Source File

sensorfw

humiditysensor_a.h
Go to the documentation of this file.
1
26#ifndef HUMIDITY_SENSOR_H
27#define HUMIDITY_SENSOR_H
28
29#include <QtDBus/QtDBus>
30#include <QObject>
31
32#include "datatypes/unsigned.h"
33#include "abstractsensor_a.h"
34
35 class HumiditySensorChannelAdaptor : public AbstractSensorChannelAdaptor
36{
37 Q_OBJECT
38 Q_DISABLE_COPY(HumiditySensorChannelAdaptor)
39 Q_CLASSINFO("D-Bus Interface", "local.HumiditySensor")
40 Q_PROPERTY(Unsigned relativeHumidity READ relativeHumidity NOTIFY relativeHumidityChanged)
41
42public:
43 HumiditySensorChannelAdaptor(QObject* parent);
44
45public Q_SLOTS:
46 Unsigned relativeHumidity() const;
47
48Q_SIGNALS:
49 void relativeHumidityChanged(const Unsigned& value);
50};
51
52#endif
HumiditySensorChannelAdaptor
Definition humiditysensor_a.h:36
HumiditySensorChannelAdaptor::relativeHumidityChanged
void relativeHumidityChanged(const Unsigned &value)
HumiditySensorChannelAdaptor::relativeHumidity
Unsigned relativeHumidity
Definition humiditysensor_a.h:40
Unsigned
QObject facae for TimedUnsigned.
Definition unsigned.h:37
unsigned.h
QObject based datatype for TimedUnsigned.