sensorfw
|
Adaptor for internal gyroscope. More...
#include <gyroscopeadaptor.h>
Static Public Member Functions | |
static DeviceAdaptor * | factoryMethod (const QString &id) |
Factory method for gaining a new instance of this adaptor class. More... | |
Protected Member Functions | |
GyroscopeAdaptor (const QString &id) | |
Constructor. More... | |
~GyroscopeAdaptor () | |
Destructor. More... | |
bool | setInterval (const unsigned int value, const int sessionId) |
unsigned int | interval () const |
Adaptor for internal gyroscope.
Adaptor for internal gyroscope. Uses SysFs driver interface in polling mode, i.e. values are read with given constant interval.
Driver interface is located in /sys/class/i2c-adapter/?????? .
No other filehandles are currently in use by this adaptor.
Definition at line 43 of file gyroscopeadaptor.h.
|
protected |
Constructor.
Protected to force externals to use factory method.
id | Identifier for the adaptor. |
|
protected |
Destructor.
|
inlinestatic |
Factory method for gaining a new instance of this adaptor class.
id | Identifier for the adaptor. |
Definition at line 53 of file gyroscopeadaptor.h.
|
protected |
|
protected |