sensorfw: HybrisGyroscopeAdaptor Class Reference

sensorfw

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

Adaptor for hybris gyroscope. More...

`#include <hybrisgyroscopeadaptor.h>`

Inheritance diagram for HybrisGyroscopeAdaptor:

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

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

Definition at line 38 of file hybrisgyroscopeadaptor.h.

## Constructor & Destructor Documentation

## ◆ HybrisGyroscopeAdaptor()

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

## ◆ ~HybrisGyroscopeAdaptor()

HybrisGyroscopeAdaptor::~HybrisGyroscopeAdaptor | ( |  | ) |

## Member Function Documentation

## ◆ factoryMethod()

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

Definition at line 43 of file hybrisgyroscopeadaptor.h.

## ◆ processSample()

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

## ◆ startSensor()

bool HybrisGyroscopeAdaptor::startSensor | ( |  | ) |

## ◆ stopSensor()

void HybrisGyroscopeAdaptor::stopSensor | ( |  | ) |

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

- adaptors/hybrisgyroscopeadaptor/hybrisgyroscopeadaptor.h