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