sensorfw
HybrisGeoRotationAdaptor Class Reference

Adaptor for hybris compass. More...

#include <hybrisgeorotationadaptor.h>

Inheritance diagram for HybrisGeoRotationAdaptor:

Public Member Functions

 HybrisGeoRotationAdaptor (const QString &id)
 
 ~HybrisGeoRotationAdaptor ()
 
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 hybrisgeorotationadaptor.h.

Constructor & Destructor Documentation

◆ HybrisGeoRotationAdaptor()

HybrisGeoRotationAdaptor::HybrisGeoRotationAdaptor ( const QString &  id)

◆ ~HybrisGeoRotationAdaptor()

HybrisGeoRotationAdaptor::~HybrisGeoRotationAdaptor ( )

Member Function Documentation

◆ factoryMethod()

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

Definition at line 41 of file hybrisgeorotationadaptor.h.

◆ processSample()

void HybrisGeoRotationAdaptor::processSample ( const sensors_event_t &  data)
protected

◆ startSensor()

bool HybrisGeoRotationAdaptor::startSensor ( )

◆ stopSensor()

void HybrisGeoRotationAdaptor::stopSensor ( )

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