26#ifndef HUMIDITYSENSOR_I_H
27#define HUMIDITYSENSOR_I_H
29#include <QtDBus/QtDBus>
Base class for sensor interface.
Base-class for client facades of different sensor types.
Client interface for accessing ambient light sensor.
static HumiditySensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
HumiditySensorChannelInterface(const QString &path, int sessionId)
Constructor.
static HumiditySensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
static const char * staticInterfaceName
Name of the D-Bus interface for this class.
static const HumiditySensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
Unsigned relativeHumidity()
Get latest relative humidity reading from sensor daemon.
virtual bool dataReceivedImpl()
Callback for subclasses in which they must read their expected data from socket.
Unsigned relativeHumidity
void relativeHumidityChanged(const Unsigned &value)
Sent when measured relative humidity has changed.
static AbstractSensorChannelInterface * factoryMethod(const QString &id, int sessionId)
Create new instance of the class.
QObject facae for TimedUnsigned.
::HumiditySensorChannelInterface HumiditySensor
QObject based datatype for TimedUnsigned.