The QGeoSatelliteInfo class contains basic information about a satellite. More...
#include <QGeoSatelliteInfo>
This class was introduced in Qt Mobility 1.0.
enum | Attribute { Elevation, Azimuth } |
QGeoSatelliteInfo () | |
QGeoSatelliteInfo ( const QGeoSatelliteInfo & other ) | |
~QGeoSatelliteInfo () | |
qreal | attribute ( Attribute attribute ) const |
bool | hasAttribute ( Attribute attribute ) 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 |
bool | operator!= ( const QGeoSatelliteInfo & other ) const |
QGeoSatelliteInfo & | operator= ( const QGeoSatelliteInfo & other ) |
bool | operator== ( const QGeoSatelliteInfo & other ) const |
QDataStream & | operator<< ( QDataStream & stream, const QGeoSatelliteInfo & info ) |
QDataStream & | operator>> ( QDataStream & stream, QGeoSatelliteInfo & info ) |
The QGeoSatelliteInfo class contains basic information about a satellite.
See also QGeoSatelliteInfoSource.
Defines the attributes for the satellite information.
Constant | Value | Description |
---|---|---|
QGeoSatelliteInfo::Elevation | 0 | The elevation of the satellite, in degrees. |
QGeoSatelliteInfo::Azimuth | 1 | The azimuth to true north, in degrees. |
Creates a satellite information object.
Creates a satellite information object with the values of other.
This function was introduced in Qt Mobility 1.0.
Destroys a satellite information object.
Returns the value of the specified attribute as a qreal value.
Returns -1 if the value has not been set.
This function was introduced in Qt Mobility 1.0.
See also hasAttribute() and setAttribute().
Returns true if the specified attribute is present in this update.
This function was introduced in Qt Mobility 1.0.
Returns the PRN (Pseudo-random noise) number, or -1 if the value has not been set.
This function was introduced in Qt Mobility 1.0.
See also setPrnNumber().
Removes the specified attribute and its value.
This function was introduced in Qt Mobility 1.0.
Sets the value for attribute to value.
This function was introduced in Qt Mobility 1.0.
See also attribute().
Sets the PRN (Pseudo-random noise) number to prn.
The PRN number can be used to identify a satellite.
This function was introduced in Qt Mobility 1.0.
See also prnNumber().
Sets the signal strength to signalStrength, in decibels.
This function was introduced in Qt Mobility 1.0.
See also signalStrength().
Returns the signal strength, or -1 if the value has not been set.
This function was introduced in Qt Mobility 1.0.
See also setSignalStrength().
Returns true if any of the information for this satellite are not the same as those of other.
This function was introduced in Qt Mobility 1.0.
Assigns the values from other to this object.
This function was introduced in Qt Mobility 1.0.
Returns true if all the information for this satellite are the same as those of other.
This function was introduced in Qt Mobility 1.0.
Writes the given info to the specified stream.
This function was introduced in Qt Mobility 1.0.
See also Format of the QDataStream operators.
Reads satellite information from the specified stream into the given info.
This function was introduced in Qt Mobility 1.0.
See also Format of the QDataStream operators.