Sensor for accessing the internal step counter sensor measurements.
More...
#include <stepcountersensor.h>
Sensor for accessing the internal step counter sensor measurements.
Signals listeners whenever observed steps count changed.
Definition at line 49 of file stepcountersensor.h.
◆ StepCounterSensorChannel()
StepCounterSensorChannel::StepCounterSensorChannel |
( |
const QString & |
id | ) |
|
|
protected |
◆ ~StepCounterSensorChannel()
virtual StepCounterSensorChannel::~StepCounterSensorChannel |
( |
| ) |
|
|
protectedvirtual |
◆ factoryMethod()
static AbstractSensorChannel * StepCounterSensorChannel::factoryMethod |
( |
const QString & |
id | ) |
|
|
inlinestatic |
◆ start
bool StepCounterSensorChannel::start |
( |
| ) |
|
|
slot |
◆ StepCounterChanged
void StepCounterSensorChannel::StepCounterChanged |
( |
const Unsigned & |
value | ) |
|
|
signal |
Sent when a change in measured data is observed.
- Parameters
-
◆ steps()
Unsigned StepCounterSensorChannel::steps |
( |
| ) |
const |
|
inline |
Property for accessing the measured value.
- Returns
- Last measured value.
Definition at line 73 of file stepcountersensor.h.
◆ stop
bool StepCounterSensorChannel::stop |
( |
| ) |
|
|
slot |
◆ steps
Unsigned StepCounterSensorChannel::steps |
|
read |
The documentation for this class was generated from the following file: