32#include <QtDBus/QtDBus>
Base class for sensor interface.
Base-class for client facades of different sensor types.
QObject facade for HeartRateData.
Client interface for accessing heart rate monitor sensor.
HeartRate heartRate()
Get latest heart rate measurements from sensor daemon.
static const char * staticInterfaceName
Name of the D-Bus interface for this class.
void HeartRateChanged(const HeartRate &value)
Sent when measured bpm has changed.
static HrmSensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
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.
static const HrmSensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
static HrmSensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
HrmSensorChannelInterface(const QString &path, int sessionId)
Constructor.
QObject based datatype for HeartRateData.
::HrmSensorChannelInterface HrmSensor