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