sensorfw: HybrisRotationAdaptor Class Reference

sensorfw

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

Adaptor for hybris compass. More...

`#include <hybrisrotationadaptor.h>`

Inheritance diagram for HybrisRotationAdaptor:

## Public Member Functions
| HybrisRotationAdaptor (const QString &id)
| ~HybrisRotationAdaptor ()
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 compass.

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

Definition at line 36 of file hybrisrotationadaptor.h.

## Constructor & Destructor Documentation

## ◆ HybrisRotationAdaptor()

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

## ◆ ~HybrisRotationAdaptor()

HybrisRotationAdaptor::~HybrisRotationAdaptor | ( |  | ) |

## Member Function Documentation

## ◆ factoryMethod()

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

Definition at line 41 of file hybrisrotationadaptor.h.

## ◆ processSample()

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

## ◆ startSensor()

bool HybrisRotationAdaptor::startSensor | ( |  | ) |

## ◆ stopSensor()

void HybrisRotationAdaptor::stopSensor | ( |  | ) |

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

- adaptors/hybrisrotationadaptor/hybrisrotationadaptor.h