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