Go to the documentation of this file.
28 #ifndef STEPCOUNTER_SENSOR_CHANNEL_H
29 #define STEPCOUNTER_SENSOR_CHANNEL_H
33 #include "deviceadaptor.h"
34 #include "abstractsensor.h"
36 #include "dataemitter.h"
50 public AbstractSensorChannel,
51 public DataEmitter<TimedUnsigned>
94 DeviceAdaptor* stepcounterAdaptor_;
96 RingBuffer<TimedUnsigned>* outputBuffer_;
101 #endif // STEPCOUNTER_SENSOR_CHANNEL_H
Sensor for accessing the internal step counter sensor measurements.
Datatype for unsigned values.
Unsigned steps() const
Property for accessing the measured value.
void StepCounterChanged(const Unsigned &value)
Sent when a change in measured data is observed.
QObject based datatype for TimedUnsigned.
D-Bus adaptor for stepcounter sensor.
virtual ~StepCounterSensorChannel()
Datatype for unsigned integer value with timestamp.
StepCounterSensorChannel(const QString &id)
QObject facae for TimedUnsigned.
static AbstractSensorChannel * factoryMethod(const QString &id)
Factory method for StepCounterSensorChannel.