QObject facade for ProximityData.
More...
#include <proximity.h>
QObject facade for ProximityData.
Definition at line 37 of file proximity.h.
◆ Proximity() [1/3]
◆ Proximity() [2/3]
Constructor.
- Parameters
-
Definition at line 56 of file proximity.h.
◆ Proximity() [3/3]
Proximity::Proximity |
( |
const Proximity & |
data | ) |
|
|
inline |
Copy constructor.
- Parameters
-
Definition at line 66 of file proximity.h.
◆ operator=()
Assignment operator.
- Parameters
-
origin | Source object for assigment. |
Definition at line 95 of file proximity.h.
◆ operator==()
bool Proximity::operator== |
( |
const Proximity & |
right | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
right | Object to compare to. |
- Returns
- comparison result.
Definition at line 107 of file proximity.h.
◆ proximityData()
◆ reflectance()
int Proximity::reflectance |
( |
| ) |
const |
|
inline |
Accessor for raw reflectance reading.
- Returns
- proximity reflectance reading.
Definition at line 88 of file proximity.h.
◆ withinProximity()
bool Proximity::withinProximity |
( |
| ) |
const |
|
inline |
Accessor for proximity status.
- Returns
- is an object in proximity of sensor or not
Definition at line 81 of file proximity.h.
◆ operator>>
const QDBusArgument & operator>> |
( |
const QDBusArgument & |
argument, |
|
|
Proximity & |
data |
|
) |
| |
|
friend |
Unmarshall Proximity data from the D-Bus argument.
- Parameters
-
argument | dbus argument. |
data | unmarshalled data. |
- Returns
- dbus argument.
Definition at line 145 of file proximity.h.
◆ reflectance
int Proximity::reflectance |
|
read |
◆ withinProximity
int Proximity::withinProximity |
|
read |
The documentation for this class was generated from the following file: