27#ifndef ROTATIONSENSOR_I_H
28#define ROTATIONSENSOR_I_H
30#include <QtDBus/QtDBus>
117 bool frameAvailableConnected;
Base class for sensor interface.
Base-class for client facades of different sensor types.
Client interface for listening device rotation changes.
bool hasZ()
Does reported readings include Z coordinate.
RotationSensorChannelInterface(const QString &path, int sessionId)
Constructor.
static AbstractSensorChannelInterface * factoryMethod(const QString &id, int sessionId)
Create new instance of the class.
virtual bool dataReceivedImpl()
Callback for subclasses in which they must read their expected data from socket.
static RotationSensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
static const char * staticInterfaceName
Get name of the D-Bus interface for this class.
static const RotationSensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
virtual void connectNotify(const QMetaMethod &signal)
XYZ rotation()
Get latest rotation reading from sensor daemon.
static RotationSensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
void dataAvailable(const XYZ &data)
Sent when device rotation has changed.
void frameAvailable(const QVector< XYZ > &frame)
Sent when new measurement frame has become available.
QObject facade for XYZData.
::RotationSensorChannelInterface RotationSensor
QObject based datatype for TimedXYZData.