sensorfw: HybrisMagnetometerAdaptor Class Reference

sensorfw

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

Adaptor for hybris magnetometer. More...

`#include <hybrismagnetometeradaptor.h>`

Inheritance diagram for HybrisMagnetometerAdaptor:

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

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

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

## Detailed Description

Adaptor for hybris magnetometer.

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

Definition at line 39 of file hybrismagnetometeradaptor.h.

## Constructor & Destructor Documentation

## ◆ HybrisMagnetometerAdaptor()

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

## ◆ ~HybrisMagnetometerAdaptor()

HybrisMagnetometerAdaptor::~HybrisMagnetometerAdaptor | ( |  | ) |

## Member Function Documentation

## ◆ factoryMethod()

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

Definition at line 44 of file hybrismagnetometeradaptor.h.

## ◆ init()

void HybrisMagnetometerAdaptor::init | ( |  | ) |
| protected

## ◆ processSample()

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

## ◆ startSensor()

bool HybrisMagnetometerAdaptor::startSensor | ( |  | ) |

## ◆ stopSensor()

void HybrisMagnetometerAdaptor::stopSensor | ( |  | ) |

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

- adaptors/hybrismagnetometeradaptor/hybrismagnetometeradaptor.h