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