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