28 #ifndef GYROSCOPESENSOR_I_H 29 #define GYROSCOPESENSOR_I_H 31 #include <QtDBus/QtDBus> 106 bool frameAvailableConnected;
QObject based datatype for TimedXYZData.
Base class for sensor interface.
GyroscopeSensorChannelInterface(const QString &path, int sessionId)
Constructor.
Client interface for accessing gyroscope sensor.
Base-class for client facades of different sensor types.
int sessionId() const
Get ID of the current session.
void frameAvailable(const QVector< XYZ > &frame)
Sent when new measurement frame has become available.
::GyroscopeSensorChannelInterface GyroscopeSensor
QObject facade for #TimedXYZData.
virtual void connectNotify(const char *signal)
static GyroscopeSensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
static GyroscopeSensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
static const char * staticInterfaceName
Name of the D-Bus interface for this class.
XYZ get()
Get latest gyroscope reading from sensor daemon.
virtual bool dataReceivedImpl()
Callback for subclasses in which they must read their expected data from socket.
void dataAvailable(const XYZ &data)
Sent when new measurement data has become available.
static const GyroscopeSensorChannelInterface * 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.