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