sensorfw
HybrisPressureAdaptor Class Reference

Adaptor for hybris pressure sensor. More...

#include <hybrispressureadaptor.h>

Inheritance diagram for HybrisPressureAdaptor:

Public Member Functions

 HybrisPressureAdaptor (const QString &id)
 
 ~HybrisPressureAdaptor ()
 
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 pressure sensor.

Adaptor for internal pressure sensor. Provides the amount of ambient pressure detected by the device. Uses hybris sensor daemon driver interface.

Value output frequency depends on driver decision - only changed values are pushed out of driver.

Definition at line 42 of file hybrispressureadaptor.h.

Constructor & Destructor Documentation

◆ HybrisPressureAdaptor()

HybrisPressureAdaptor::HybrisPressureAdaptor ( const QString &  id)

◆ ~HybrisPressureAdaptor()

HybrisPressureAdaptor::~HybrisPressureAdaptor ( )

Member Function Documentation

◆ factoryMethod()

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

Definition at line 47 of file hybrispressureadaptor.h.

◆ processSample()

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

◆ startSensor()

bool HybrisPressureAdaptor::startSensor ( )

◆ stopSensor()

void HybrisPressureAdaptor::stopSensor ( )

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