28#ifndef MAGNETOMETERSENSOR_I_H
29#define MAGNETOMETERSENSOR_I_H
31#include <QtDBus/QtDBus>
107 bool frameAvailableConnected;
Base class for sensor interface.
AbstractSensorChannelInterface(const QString &path, const char *interfaceName, int sessionId)
Constructor.
QObject facade for CalibratedMagneticFieldData.
Client interface for accessing magnetometer sensor.
virtual bool dataReceivedImpl()
Callback for subclasses in which they must read their expected data from socket.
virtual void connectNotify(const QMetaMethod &signal)
static AbstractSensorChannelInterface * factoryMethod(const QString &id, int sessionId)
Create new instance of the class.
void frameAvailable(const QVector< MagneticField > &frame)
Sent when new measurement frame has become available.
QDBusReply< void > reset()
Reset magnetometer calibration to 0.
static const char * staticInterfaceName
Name of the D-Bus interface for this class.
void dataAvailable(const MagneticField &data)
Sent when new measurement is available.
MagneticField magneticField
static MagnetometerSensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
MagnetometerSensorChannelInterface(const QString &path, int sessionId)
Constructor.
static MagnetometerSensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
static const MagnetometerSensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
QObject based datatype for CalibratedMagneticFieldData.
::MagnetometerSensorChannelInterface MagnetometerSensor