sensorfw: HybrisPressureAdaptor Class Reference

sensorfw

Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
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)
void | init ()

## 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 44 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 49 of file hybrispressureadaptor.h.

## ◆ init()

void HybrisPressureAdaptor::init | ( |  | ) |
| protected

## ◆ 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:

- adaptors/hybrispressureadaptor/hybrispressureadaptor.h