27 #ifndef ACCELEROMETERSENSOR_I_H 28 #define ACCELEROMETERSENSOR_I_H 30 #include <QtDBus/QtDBus> 105 bool frameAvailableConnected;
XYZ get()
Get latest accelerometer reading from sensor daemon.
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.
::AccelerometerSensorChannelInterface AccelerometerSensor
static AccelerometerSensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
QObject based datatype for TimedXYZData.
static const AccelerometerSensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
Base class for sensor interface.
Base-class for client facades of different sensor types.
void dataAvailable(const XYZ &data)
Sent when new measurement data has become available.
int sessionId() const
Get ID of the current session.
virtual void connectNotify(const char *signal)
QObject facade for #TimedXYZData.
void frameAvailable(const QVector< XYZ > &frame)
Sent when new measurement frame has become available.
static const char * staticInterfaceName
Name of the D-Bus interface for this class.
static AccelerometerSensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
Client interface for accessing accelerometer sensor.