Go to the documentation of this file.
29 #ifndef STEPCOUNTERSENSOR_I_H
30 #define STEPCOUNTERSENSOR_I_H
32 #include <QtDBus/QtDBus>
Base class for sensor interface.
Unsigned steps()
Get latest step count from sensor daemon.
Client interface for accessing stepcounter sensor.
Base-class for client facades of different sensor types.
static const StepCounterSensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
void StepCounterChanged(const Unsigned &value)
Sent when measured step count has changed.
QObject based datatype for TimedUnsigned.
static StepCounterSensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
StepCounterSensorChannelInterface(const QString &path, int sessionId)
Constructor.
static const char * staticInterfaceName
Name of the D-Bus interface for this class.
QObject facae for TimedUnsigned.
static StepCounterSensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
::StepCounterSensorChannelInterface StepCounterSensor
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.