The QAltimeterReading class holds readings from the altimeter sensor. More...
Header: | #include <QAltimeterReading> |
qmake: | QT += sensors |
Since: | Qt 5.1 |
Inherits: | QSensorReading |
QAltimeterReading(QObject *parent = DECLARE_READING(QAltimeterReading)) | |
virtual | ~QAltimeterReading() |
qreal | altitude() const |
void | setAltitude(qreal altitude) |
virtual void | copyValuesFrom(QSensorReading *other) override |
The QAltimeterReading class holds readings from the altimeter sensor.
The altitude is reported in meters relative to mean sea level.
This property holds the altitude in meters relative to mean sea level.
Access functions:
qreal | altitude() const |
Default constructs an instance of QAltimeterReading.
[virtual]
QAltimeterReading::~QAltimeterReading()Destroys the instance of QAltimeterReading. The destructor is virtual.
[override virtual]
void QAltimeterReading::copyValuesFrom(QSensorReading *other)Sets the altitude to altitude.
See also altitude().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: