sensorfw: TapAdaptor Class Reference

sensorfw

Static Public Member Functions | Protected Member Functions | List of all members
TapAdaptor Class Reference

Adaptor class for detecting device tap events. More...

`#include <tapadaptor.h>`

Inheritance diagram for TapAdaptor:

## Static Public Member Functions
static DeviceAdaptor * | factoryMethod (const QString &id)
| Factory method for gaining a new instance of TapAdaptor class. More...

## Protected Member Functions
| TapAdaptor (const QString &id)
| Constructor. More...
| ~TapAdaptor ()
virtual bool | setInterval (const unsigned int value, const int sessionId)

## Detailed Description

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.

## Constructor & Destructor Documentation

## ◆ TapAdaptor()

TapAdaptor::TapAdaptor | ( | const QString & | id | ) |
| protected

Constructor.

Parameters

  id | Identifier for the adaptor.

## ◆ ~TapAdaptor()

TapAdaptor::~TapAdaptor | ( |  | ) |
| protected

## Member Function Documentation

## ◆ factoryMethod()

static DeviceAdaptor* TapAdaptor::factoryMethod | ( | const QString & | id | ) |
| inlinestatic

Factory method for gaining a new instance of TapAdaptor class.

Parameters

  id | Identifier for the adaptor.

Definition at line 49 of file tapadaptor.h.

## ◆ setInterval()

virtual bool TapAdaptor::setInterval | ( | const unsigned int | value,
|  | const int | sessionId
| ) |  |
| protectedvirtual

The documentation for this class was generated from the following file:

- adaptors/tapadaptor/tapadaptor.h