sensorfw
|
Adaptor class for detecting device tap events. More...
#include <tapadaptor.h>
Static Public Member Functions | |
static DeviceAdaptor * | factoryMethod (const QString &id) |
Factory method for gaining a new instance of TapAdaptor class. | |
Protected Member Functions | |
TapAdaptor (const QString &id) | |
Constructor. | |
~TapAdaptor () | |
virtual bool | setInterval (const unsigned int value, const int sessionId) |
Adaptor class for detecting device tap events.
Tap events are recognized by the internal accelerometer driver, and passed to sensor framework by this adaptor.
Definition at line 41 of file tapadaptor.h.
TapAdaptor::TapAdaptor | ( | const QString & | id | ) | [protected] |
Constructor.
id | Identifier for the adaptor. |
TapAdaptor::~TapAdaptor | ( | ) | [protected] |
static DeviceAdaptor* TapAdaptor::factoryMethod | ( | const QString & | id | ) | [inline, static] |
Factory method for gaining a new instance of TapAdaptor class.
id | Identifier for the adaptor. |
Definition at line 49 of file tapadaptor.h.
virtual bool TapAdaptor::setInterval | ( | const unsigned int | value, |
const int | sessionId | ||
) | [protected, virtual] |