sensorfw
|
Sensor for accessing device orientation. More...
#include <orientationsensor.h>
Public Slots | |
bool | start () |
bool | stop () |
Signals | |
void | orientationChanged (const int &orientation) |
Sent whenever orientation interpretation has changed. More... | |
Public Member Functions | |
Unsigned | orientation () const |
Property method returning current orientation. More... | |
Static Public Member Functions | |
static AbstractSensorChannel * | factoryMethod (const QString &id) |
Factory method for OrientationSensorChannel. More... | |
Protected Member Functions | |
OrientationSensorChannel (const QString &id) | |
virtual | ~OrientationSensorChannel () |
Properties | |
Unsigned | orientation |
Sensor for accessing device orientation.
Provides device orientation based on the direction of acceleration vector. Threshold value (mG) is used to control the sensitivity of change from one orientation into another. See OrientationInterpreter for details on threshold.
Definition at line 48 of file orientationsensor.h.
|
protected |
|
protectedvirtual |
|
inlinestatic |
Factory method for OrientationSensorChannel.
Definition at line 61 of file orientationsensor.h.
|
inline |
Property method returning current orientation.
Definition at line 73 of file orientationsensor.h.
|
signal |
Sent whenever orientation interpretation has changed.
orientation | New orientation. |
|
slot |
|
slot |
|
read |
Definition at line 1 of file orientationsensor.h.