sensorfw
|
Sensor for accessing device tap events. More...
#include <tapsensor.h>
Public Slots | |
bool | start () |
bool | stop () |
Signals | |
void | dataAvailable (const Tap &tap) |
Sent when a tap event has occurred. More... | |
Static Public Member Functions | |
static AbstractSensorChannel * | factoryMethod (const QString &id) |
Factory method for TapSensorChannel. More... | |
Protected Member Functions | |
TapSensorChannel (const QString &id) | |
virtual | ~TapSensorChannel () |
Sensor for accessing device tap events.
Tap events are detected by the accelerometer driver, and propagated here through TapAdaptor. The whole logic of recognising tap events is embedded in the driver itself.
In the future this class might need to contain methods for driver parameter setup.
Definition at line 51 of file tapsensor.h.
|
protected |
|
protectedvirtual |
|
signal |
Sent when a tap event has occurred.
tap | The occurred event. |
|
inlinestatic |
Factory method for TapSensorChannel.
Definition at line 62 of file tapsensor.h.
|
slot |
|
slot |