QObject facade for CalibratedMagneticFieldData.
More...
#include <magneticfield.h>
QObject facade for CalibratedMagneticFieldData.
Definition at line 37 of file magneticfield.h.
◆ MagneticField() [1/3]
MagneticField::MagneticField |
( |
| ) |
|
|
inline |
◆ MagneticField() [2/3]
Constructor.
- Parameters
-
calibratedData | Source object. |
Definition at line 54 of file magneticfield.h.
◆ MagneticField() [3/3]
◆ data()
◆ level()
int MagneticField::level |
( |
| ) |
const |
|
inline |
Returns the magnetometer calibration level.
- Returns
- level of magnetometer calibration.
Definition at line 166 of file magneticfield.h.
◆ operator=()
Assignment operator.
- Parameters
-
origin | Source object for assigment. |
Definition at line 93 of file magneticfield.h.
◆ operator==()
bool MagneticField::operator== |
( |
const MagneticField & |
right | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
right | Object to compare to. |
- Returns
- comparison result.
Definition at line 113 of file magneticfield.h.
◆ rx()
int MagneticField::rx |
( |
| ) |
const |
|
inline |
Returns the raw value for X.
- Returns
- raw x value.
Definition at line 148 of file magneticfield.h.
◆ ry()
int MagneticField::ry |
( |
| ) |
const |
|
inline |
Returns the raw value for Y.
- Returns
- raw y value.
Definition at line 154 of file magneticfield.h.
◆ rz()
int MagneticField::rz |
( |
| ) |
const |
|
inline |
Returns the raw value for Z.
- Returns
- raw z value.
Definition at line 160 of file magneticfield.h.
◆ timestamp()
const quint64 & MagneticField::timestamp |
( |
| ) |
const |
|
inline |
Returns the timestamp of sample as monotonic time (microsec).
- Returns
- timestamp value.
Definition at line 172 of file magneticfield.h.
◆ x()
int MagneticField::x |
( |
| ) |
const |
|
inline |
◆ y()
int MagneticField::y |
( |
| ) |
const |
|
inline |
◆ z()
int MagneticField::z |
( |
| ) |
const |
|
inline |
◆ operator>>
const QDBusArgument & operator>> |
( |
const QDBusArgument & |
argument, |
|
|
MagneticField & |
data |
|
) |
| |
|
friend |
Unmarshall MagneticField data from the D-Bus argument.
- Parameters
-
argument | dbus argument. |
data | unmarshalled data. |
- Returns
- dbus argument.
Definition at line 206 of file magneticfield.h.
The documentation for this class was generated from the following file: