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