|
sensorfw
|
Sensor for accessing proximity sensor measurements. More...
#include <proximitysensor.h>
Public Slots | |
| bool | start () |
| bool | stop () |
Signals | |
| void | dataAvailable (const Unsigned &data) |
| Sent when new measurement data has become available. | |
Public Member Functions | |
| Unsigned | proximity () const |
| Property for accessing the measured value. | |
| Proximity | proximityReflectance () const |
Static Public Member Functions | |
| static AbstractSensorChannel * | factoryMethod (const QString &id) |
| Factory method for AbstractSensorChannel. | |
Protected Member Functions | |
| ProximitySensorChannel (const QString &id) | |
| virtual | ~ProximitySensorChannel () |
Properties | |
| Unsigned | proximity |
| Proximity | proximityReflectance |
Sensor for accessing proximity sensor measurements.
Provides measurement data from device proximity sensor.
Definition at line 46 of file proximitysensor.h.
| ProximitySensorChannel::ProximitySensorChannel | ( | const QString & | id | ) | [protected] |
| virtual ProximitySensorChannel::~ProximitySensorChannel | ( | ) | [protected, virtual] |
| void ProximitySensorChannel::dataAvailable | ( | const Unsigned & | data | ) | [signal] |
Sent when new measurement data has become available.
| data | Newly measured data. |
| static AbstractSensorChannel* ProximitySensorChannel::factoryMethod | ( | const QString & | id | ) | [inline, static] |
Factory method for AbstractSensorChannel.
Definition at line 59 of file proximitysensor.h.
| Unsigned ProximitySensorChannel::proximity | ( | ) | const [inline] |
Property for accessing the measured value.
Definition at line 70 of file proximitysensor.h.
| Proximity ProximitySensorChannel::proximityReflectance | ( | ) | const [inline] |
Definition at line 72 of file proximitysensor.h.
| bool ProximitySensorChannel::start | ( | ) | [slot] |
| bool ProximitySensorChannel::stop | ( | ) | [slot] |
Definition at line 50 of file proximitysensor.h.
Definition at line 51 of file proximitysensor.h.