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