sensorfw: sensors/alssensor/alssensor_a.h Source File

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
43public:
44 ALSSensorChannelAdaptor(QObject* parent);
45
46public Q_SLOTS:
47 Unsigned lux() const;
48
49Q_SIGNALS:
50 void ALSChanged(const Unsigned& value);
51};
52
53#endif
ALSSensorChannelAdaptor
Definition: alssensor_a.h:37
ALSSensorChannelAdaptor::ALSChanged
void ALSChanged(const Unsigned &value)
ALSSensorChannelAdaptor::lux
Unsigned lux() const
ALSSensorChannelAdaptor::lux
Unsigned lux
Definition: alssensor_a.h:41
ALSSensorChannelAdaptor::ALSSensorChannelAdaptor
ALSSensorChannelAdaptor(QObject *parent)
Unsigned
QObject facae for TimedUnsigned.
Definition: unsigned.h:37
unsigned.h
QObject based datatype for TimedUnsigned.