27 #ifndef PROXIMITYSENSOR_I_H
28 #define PROXIMITYSENSOR_I_H
30 #include <QtDBus/QtDBus>
Base class for sensor interface.
Base-class for client facades of different sensor types.
Client interface for listening proximity sensor state changes.
static const char * staticInterfaceName
Get name of the D-Bus interface for this class.
static ProximitySensorChannelInterface * interface(const QString &id)
Request an interface to the sensor.
Proximity proximityReflectance
static ProximitySensorChannelInterface * controlInterface(const QString &id)
Request a control interface to the sensor.
void dataAvailable(const Unsigned &data)
Sent when new measurement data has become available.
static AbstractSensorChannelInterface * factoryMethod(const QString &id, int sessionId)
Create new instance of the class.
Unsigned proximity()
Get latest proximity reading from sensor daemon.
void reflectanceDataAvailable(const Proximity &data)
Sent when new measurement data has become available.
Proximity proximityReflectance()
Get latest proximity reading from sensor daemon.
virtual bool dataReceivedImpl()
Callback for subclasses in which they must read their expected data from socket.
static const ProximitySensorChannelInterface * listenInterface(const QString &id)
Request a listening interface to the sensor.
ProximitySensorChannelInterface(const QString &path, int sessionId)
Constructor.
QObject facade for ProximityData.
QObject facae for TimedUnsigned.
::ProximitySensorChannelInterface ProximitySensor
QObject based datatype for ProximityData.
QObject based datatype for TimedUnsigned.