QWhereaboutsUpdate Class Reference
|
Constant | Value | Description |
---|---|---|
QWhereaboutsUpdate::GroundSpeed | 0x2 | The speed over ground. |
QWhereaboutsUpdate::VerticalSpeed | 0x4 | The vertical speed. |
QWhereaboutsUpdate::Course | 0x8 | The course/track made good (i.e. bearing to true north). |
QWhereaboutsUpdate::HorizontalAccuracy | 0x10 | The horizontal accuracy. |
QWhereaboutsUpdate::VerticalAccuracy | 0x20 | The vertical accuracy |
QWhereaboutsUpdate::GroundSpeedAccuracy | 0x40 | Accuracy of the speed over ground value. |
QWhereaboutsUpdate::VerticalSpeedAccuracy | 0x80 | Accuracy over the vertical speed value. |
QWhereaboutsUpdate::CourseAccuracy | 0x100 | Accuracy of the course/track made good value. |
QWhereaboutsUpdate::UpdateTimeAccuracy | 0x200 | Accuracy of the update time value. |
The DataTypes type is a typedef for QFlags<DataType>. It stores an OR combination of DataType values.
See also dataValidityFlags().
Defines the available position fix statuses for a position update. A global position cannot be accurately determined until a position fix is acquired.
Constant | Value | Description |
---|---|---|
QWhereaboutsUpdate::FixStatusUnknown | 0 | The position fix status cannot be determined from the position update. |
QWhereaboutsUpdate::FixNotAcquired | 1 | No position fix has been acquired at the time of the update. |
QWhereaboutsUpdate::FixAcquired | 2 | A position fix has been acquired at the time of the update. |
Constructs a null update.
Constructs an update with the given coordinate and dateTime.
Constructs an update from the contents of other.
Destroys an update.
Clears all attribute values for this update.
Returns the coordinate for this update.
See also setCoordinate().
Returns the course (i.e. bearing to true north, in degrees).
Use dataValidityFlags() to check whether this value has been set.
See also setCourse().
Returns the estimated accuracy of the course() value (in degrees).
Use dataValidityFlags() to check whether this value has been set.
See also setCourseAccuracy().
Returns a set of flags that indicate whether data has been set for a particular update attribute.
Returns the parsed form of the NMEA data in nmea and sets fixStatus according to the parsed data. Returns a null update if nmea could not be parsed, or if it has an invalid checksum.
This function is able to parse GGA, GLL, RMC, VTG and ZDA sentences.
Some points to note:
Returns the speed over ground, in meters/sec.
Use dataValidityFlags() to check whether this value has been set.
See also setGroundSpeed().
Returns the estimated accuracy of the groundSpeed() value (in meters/sec).
Use dataValidityFlags() to check whether this value has been set.
See also setGroundSpeedAccuracy().
Returns the estimated horizontal accuracy (in meters).
Use dataValidityFlags() to check whether this value has been set.
See also setHorizontalAccuracy().
Returns true if no attributes are set for this update.
Sets the coordinate for this update to coordinate.
See also coordinate().
Sets the course (i.e. bearing to true north, in degrees) to course.
See also course().
Sets the estimated accuracy of the course() value (in degrees) to accuracy.
See also courseAccuracy().
Sets the speed over ground (in meters/sec) to speed.
See also groundSpeed().
Sets the estimated accuracy of the groundSpeed() value (in meters/sec) to accuracy.
See also groundSpeedAccuracy().
Sets the estimated horizontal accuracy (in meters) to accuracy.
See also horizontalAccuracy().
Sets the date on which this update was received to date.
See also updateDate().
Sets the date and time at which this update was received to dateTime.
See also updateDateTime() and updateDate().
Sets the time at which this update was received to time, which should be in UTC time.
See also updateTime().
Sets the estimated accuracy of the updateTime() value (in seconds) to accuracy.
See also updateTimeAccuracy().
Sets the estimated vertical accuracy (in meters) to accuracy.
See also verticalAccuracy().
Sets the vertical speed (in meters/sec) to speed.
See also verticalSpeed().
Sets the estimated accuracy of the verticalSpeed() value (in meters/sec) to accuracy.
See also verticalSpeedAccuracy().
Returns the date on which this update was received.
See also setUpdateDate().
Returns the date and time at which this update was received.
Returns an invalid value if the updateDate() or updateTime() is not valid.
See also setUpdateDateTime() and setUpdateDate().
Returns the time at which this update was received.
See also setUpdateTime().
Returns the estimated accuracy of the updateTime() value (in seconds).
Use dataValidityFlags() to check whether this value has been set.
See also setUpdateTimeAccuracy().
Returns the estimated vertical accuracy (in meters).
Use dataValidityFlags() to check whether this value has been set.
See also setVerticalAccuracy().
Returns the vertical speed, in meters/sec.
Use dataValidityFlags() to check whether this value has been set.
See also setVerticalSpeed().
Returns the estimated accuracy of the verticalSpeed() value (in meters/sec).
Use dataValidityFlags() to check whether this value has been set.
See also setVerticalSpeedAccuracy().
Assigns other to this update and returns a reference to this update.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com