sensorfw
|
Adaptor for hybris step counter sensor. More...
#include <hybrisstepcounteradaptor.h>
Public Member Functions | |
HybrisStepCounterAdaptor (const QString &id) | |
~HybrisStepCounterAdaptor () | |
bool | startSensor () |
void | stopSensor () |
void | sendInitialData () |
Static Public Member Functions | |
static DeviceAdaptor * | factoryMethod (const QString &id) |
Protected Member Functions | |
void | processSample (const sensors_event_t &data) |
Adaptor for hybris step counter sensor.
Adaptor for step counter sensor.
Returns the number of steps taken by the user since the last reboot while activated. The value is returned as a uint64_t and is reset to zero only on a system reboot.
Definition at line 43 of file hybrisstepcounteradaptor.h.
HybrisStepCounterAdaptor::HybrisStepCounterAdaptor | ( | const QString & | id | ) |
HybrisStepCounterAdaptor::~HybrisStepCounterAdaptor | ( | ) |
|
inlinestatic |
Definition at line 48 of file hybrisstepcounteradaptor.h.
|
protected |
void HybrisStepCounterAdaptor::sendInitialData | ( | ) |
bool HybrisStepCounterAdaptor::startSensor | ( | ) |
void HybrisStepCounterAdaptor::stopSensor | ( | ) |