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