|
sensorfw
|
QObject facade for #CalibratedMagneticField. More...
#include <magneticfield.h>
Public Member Functions | |
| MagneticField () | |
| Default constructor. | |
| MagneticField (const CalibratedMagneticFieldData &calibratedData) | |
| Constructor. | |
| MagneticField (const MagneticField &data) | |
| Copy constructor. | |
| const CalibratedMagneticFieldData & | data () const |
| Accessor for contained CalibratedMagneticFieldData. | |
| MagneticField & | operator= (const MagneticField &origin) |
| Assignment operator. | |
| bool | operator== (const MagneticField &right) const |
| Comparison operator. | |
| int | x () const |
| Returns the value for X. | |
| int | y () const |
| Returns the value for Y. | |
| int | z () const |
| Returns the value for Z. | |
| int | rx () const |
| Returns the raw value for X. | |
| int | ry () const |
| Returns the raw value for Y. | |
| int | rz () const |
| Returns the raw value for Z. | |
| int | level () const |
| Returns the magnetometer calibration level. | |
| const quint64 & | timestamp () const |
| Returns the timestamp of sample as monotonic time (microsec). | |
Friends | |
| const QDBusArgument & | operator>> (const QDBusArgument &argument, MagneticField &data) |
| Unmarshall MagneticField data from the D-Bus argument. | |
QObject facade for #CalibratedMagneticField.
Definition at line 37 of file magneticfield.h.
| MagneticField::MagneticField | ( | ) | [inline] |
Default constructor.
Definition at line 47 of file magneticfield.h.
| MagneticField::MagneticField | ( | const CalibratedMagneticFieldData & | calibratedData | ) | [inline] |
Constructor.
| calibratedData | Source object. |
Definition at line 54 of file magneticfield.h.
| MagneticField::MagneticField | ( | const MagneticField & | data | ) | [inline] |
| const CalibratedMagneticFieldData& MagneticField::data | ( | ) | const [inline] |
Accessor for contained CalibratedMagneticFieldData.
Definition at line 86 of file magneticfield.h.
| int MagneticField::level | ( | ) | const [inline] |
Returns the magnetometer calibration level.
Definition at line 166 of file magneticfield.h.
| MagneticField& MagneticField::operator= | ( | const MagneticField & | origin | ) | [inline] |
Assignment operator.
| origin | Source object for assigment. |
Definition at line 93 of file magneticfield.h.
| bool MagneticField::operator== | ( | const MagneticField & | right | ) | const [inline] |
Comparison operator.
| right | Object to compare to. |
Definition at line 113 of file magneticfield.h.
| int MagneticField::rx | ( | ) | const [inline] |
| int MagneticField::ry | ( | ) | const [inline] |
| int MagneticField::rz | ( | ) | const [inline] |
| const quint64& MagneticField::timestamp | ( | ) | const [inline] |
Returns the timestamp of sample as monotonic time (microsec).
Definition at line 172 of file magneticfield.h.
| int MagneticField::x | ( | ) | const [inline] |
| int MagneticField::y | ( | ) | const [inline] |
| int MagneticField::z | ( | ) | const [inline] |
| const QDBusArgument& operator>> | ( | const QDBusArgument & | argument, |
| MagneticField & | data | ||
| ) | [friend] |
Unmarshall MagneticField data from the D-Bus argument.
| argument | dbus argument. |
| data | unmarshalled data. |
Definition at line 206 of file magneticfield.h.