29#ifndef STEPCOUNTERSENSOR_I_H
30#define STEPCOUNTERSENSOR_I_H
32#include <QtDBus/QtDBus>
Base class for sensor interface.
Base-class for client facades of different sensor types.
Client interface for accessing stepcounter sensor.
StepCounterSensorChannelInterface(const QString &path, int sessionId)
Constructor.
virtual bool dataReceivedImpl()
Callback for subclasses in which they must read their expected data from socket.
static AbstractSensorChannelInterface * factoryMethod(const QString &id, int sessionId)
Create new instance of the class.
void StepCounterChanged(const Unsigned &value)
Sent when measured step count has changed.
static StepCounterSensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
static StepCounterSensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
static const char * staticInterfaceName
Name of the D-Bus interface for this class.
Unsigned steps()
Get latest step count from sensor daemon.
static const StepCounterSensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
QObject facae for TimedUnsigned.
::StepCounterSensorChannelInterface StepCounterSensor
QObject based datatype for TimedUnsigned.