sensorfw: HybrisAccelerometerAdaptor Class Reference

sensorfw

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

Adaptor for hybris accelerometer. More...

`#include <hybrisaccelerometeradaptor.h>`

Inheritance diagram for HybrisAccelerometerAdaptor:

## Public Member Functions
| HybrisAccelerometerAdaptor (const QString &id)
| ~HybrisAccelerometerAdaptor ()
bool | startSensor ()
void | stopSensor ()

## Static Public Member Functions
static DeviceAdaptor * | factoryMethod (const QString &id)

## Protected Member Functions
void | processSample (const sensors_event_t &data)

## Detailed Description

Adaptor for hybris accelerometer.

Adaptor for internal accelerometer. Uses hybris sensor daemon driver interface in interval polling mode, i.e. values are read with given constant interval.

Definition at line 38 of file hybrisaccelerometeradaptor.h.

## Constructor & Destructor Documentation

## ◆ HybrisAccelerometerAdaptor()

HybrisAccelerometerAdaptor::HybrisAccelerometerAdaptor | ( | const QString & | id | ) |

## ◆ ~HybrisAccelerometerAdaptor()

HybrisAccelerometerAdaptor::~HybrisAccelerometerAdaptor | ( |  | ) |

## Member Function Documentation

## ◆ factoryMethod()

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

Definition at line 43 of file hybrisaccelerometeradaptor.h.

## ◆ processSample()

void HybrisAccelerometerAdaptor::processSample | ( | const sensors_event_t & | data | ) |
| protected

## ◆ startSensor()

bool HybrisAccelerometerAdaptor::startSensor | ( |  | ) |

## ◆ stopSensor()

void HybrisAccelerometerAdaptor::stopSensor | ( |  | ) |

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

- adaptors/hybrisaccelerometer/hybrisaccelerometeradaptor.h