QGeoSatelliteInfo
Since: 1.0
#include <QtLocationSubset/QGeoSatelliteInfo>
The QGeoSatelliteInfo class contains basic information about a satellite.
Overview
Public Functions Index
QGeoSatelliteInfo () | |
QGeoSatelliteInfo (const QGeoSatelliteInfo &other) | |
~QGeoSatelliteInfo () | |
qreal | attribute (Attribute attribute) const |
bool | hasAttribute (Attribute attribute) const |
bool | operator!= (const QGeoSatelliteInfo &other) const |
QGeoSatelliteInfo & | operator= (const QGeoSatelliteInfo &other) |
bool | operator== (const QGeoSatelliteInfo &other) const |
int | prnNumber () const |
void | removeAttribute (Attribute attribute) |
void | setAttribute (Attribute attribute, qreal value) |
void | setPrnNumber (int prn) |
void | setSignalStrength (int signalStrength) |
int | signalStrength () const |
Public Types
Defines the attributes for the satellite information.
Elevation The elevation of the satellite, in degrees. Azimuth The azimuth to true north, in degrees.
- Elevation
- Azimuth
Public Functions
Creates a satellite information object.
Creates a satellite information object with the values of other.
Destructor.
qreal
Returns the value of the specified attribute as a qreal value.
bool
Returns true if the specified attribute is present in this update.
bool
Returns true if any of the information for this satellite is not the same as that of other.
QGeoSatelliteInfo &
Assigns the values from other to this object.
bool
Returns true if all the information for this satellite are the same as those of other.
int
Returns the PRN (Pseudo-random noise) number, or -1 if the value has not been set.
void
Removes the specified attribute and its value.
void
Sets the value for attribute to value.
void
Sets the PRN (Pseudo-random noise) number to prn.
The PRN number can be used to identify a satellite.
void
Sets the signal strength to signalStrength, in decibels.
int
Returns the signal strength, or -1 if the value has not been set.
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy