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