sensorfw: sensors/pressuresensor/pressuresensor_a.h Source File

sensorfw

pressuresensor_a.h
Go to the documentation of this file.
1
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
35 class 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
42 public:
43 PressureSensorChannelAdaptor(QObject* parent);
44
45 public Q_SLOTS:
46 Unsigned pressure() const;
47
48 Q_SIGNALS:
49 void pressureChanged(const Unsigned& value);
50 };
51
52 #endif
PressureSensorChannelAdaptor
Definition: pressuresensor_a.h:36
PressureSensorChannelAdaptor::pressure
Unsigned pressure() const
PressureSensorChannelAdaptor::pressureChanged
void pressureChanged(const Unsigned &value)
PressureSensorChannelAdaptor::PressureSensorChannelAdaptor
PressureSensorChannelAdaptor(QObject *parent)
PressureSensorChannelAdaptor::pressure
Unsigned pressure
Definition: pressuresensor_a.h:40
Unsigned
QObject facae for TimedUnsigned.
Definition: unsigned.h:37
unsigned.h
QObject based datatype for TimedUnsigned.