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