sensorfw
|
Adaptor for hybris pressure sensor. More...
#include <hybrispressureadaptor.h>
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) |
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.
HybrisPressureAdaptor::HybrisPressureAdaptor | ( | const QString & | id | ) |
HybrisPressureAdaptor::~HybrisPressureAdaptor | ( | ) |
|
inlinestatic |
Definition at line 47 of file hybrispressureadaptor.h.
|
protected |
bool HybrisPressureAdaptor::startSensor | ( | ) |
void HybrisPressureAdaptor::stopSensor | ( | ) |