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. | |
Protected Member Functions | |
GyroscopeAdaptor (const QString &id) | |
Constructor. | |
~GyroscopeAdaptor () | |
Destructor. |
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.
GyroscopeAdaptor::GyroscopeAdaptor | ( | const QString & | id | ) | [protected] |
Constructor.
Protected to force externals to use factory method.
id | Identifier for the adaptor. |
GyroscopeAdaptor::~GyroscopeAdaptor | ( | ) | [protected] |
Destructor.
static DeviceAdaptor* GyroscopeAdaptor::factoryMethod | ( | const QString & | id | ) | [inline, static] |
Factory method for gaining a new instance of this adaptor class.
id | Identifier for the adaptor. |
Definition at line 53 of file gyroscopeadaptor.h.