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