sensorfw: sensors/proximitysensor/proximitysensor_a.h Source File

sensorfw

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