Sensor for accessing the internal ambient light sensor measurements. More...
#include <alssensor.h>
Public Slots | |
bool | start () |
bool | stop () |
Signals | |
void | ALSChanged (const Unsigned &value) |
Sent when a change in measured data is observed. | |
Public Member Functions | |
Unsigned | lux () const |
Property for accessing the measured value. | |
Static Public Member Functions | |
static AbstractSensorChannel * | factoryMethod (const QString &id) |
Factory method for ALSSensorChannel. | |
Protected Member Functions | |
ALSSensorChannel (const QString &id) | |
virtual | ~ALSSensorChannel () |
Properties | |
Unsigned | lux |
Sensor for accessing the internal ambient light sensor measurements.
Signals listeners whenever observed ambient light intensity level has changed.
Definition at line 52 of file alssensor.h.
ALSSensorChannel::ALSSensorChannel | ( | const QString & | id | ) | [protected] |
virtual ALSSensorChannel::~ALSSensorChannel | ( | ) | [protected, virtual] |
void ALSSensorChannel::ALSChanged | ( | const Unsigned & | value | ) | [signal] |
Sent when a change in measured data is observed.
value | Measured value. |
static AbstractSensorChannel* ALSSensorChannel::factoryMethod | ( | const QString & | id | ) | [inline, static] |
Factory method for ALSSensorChannel.
Definition at line 64 of file alssensor.h.
Unsigned ALSSensorChannel::lux | ( | ) | const [inline] |
Property for accessing the measured value.
Definition at line 76 of file alssensor.h.
bool ALSSensorChannel::start | ( | ) | [slot] |
bool ALSSensorChannel::stop | ( | ) | [slot] |
Unsigned ALSSensorChannel::lux [read] |
Definition at line 56 of file alssensor.h.