The GpsMetadataMessage class represents a FIT GpsMetadataMessage data message.
More...
|
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
|
|
The GpsMetadataMessage class represents a FIT GpsMetadataMessage data message.
- See also
- DataMessage
◆ GpsMetadataMessage()
GpsMetadataMessage::GpsMetadataMessage |
( |
| ) |
|
Constructs a GpsMetadataMessage object.
Typically, instances of this class will be returned by FitStreamReader::readNext, but this constructor may be used, along with the relevant setter methods, to create a valid message.
◆ enhancedAltitude()
quint32 GpsMetadataMessage::enhancedAltitude |
( |
| ) |
const |
Returns the GpsMetadataMessage data message's enhancedAltitude
field's current value.
- Returns
- the
enhancedAltitude
field value.
◆ enhancedSpeed()
quint32 GpsMetadataMessage::enhancedSpeed |
( |
| ) |
const |
Returns the GpsMetadataMessage data message's enhancedSpeed
field's current value.
- Returns
- the
enhancedSpeed
field value.
◆ heading()
quint16 GpsMetadataMessage::heading |
( |
| ) |
const |
Returns the GpsMetadataMessage data message's heading
field's current value.
- Returns
- the
heading
field value.
◆ positionLat()
qint32 GpsMetadataMessage::positionLat |
( |
| ) |
const |
Returns the GpsMetadataMessage data message's positionLat
field's current value.
- Returns
- the
positionLat
field value.
◆ positionLong()
qint32 GpsMetadataMessage::positionLong |
( |
| ) |
const |
Returns the GpsMetadataMessage data message's positionLong
field's current value.
- Returns
- the
positionLong
field value.
◆ setEnhancedAltitude()
void GpsMetadataMessage::setEnhancedAltitude |
( |
const quint32 |
enhancedAltitude | ) |
|
Sets the enhancedAltitude
field to enhancedAltitude.
- Parameters
-
enhancedAltitude | The field value to set. |
◆ setEnhancedSpeed()
void GpsMetadataMessage::setEnhancedSpeed |
( |
const quint32 |
enhancedSpeed | ) |
|
Sets the enhancedSpeed
field to enhancedSpeed.
- Parameters
-
enhancedSpeed | The field value to set. |
◆ setHeading()
void GpsMetadataMessage::setHeading |
( |
const quint16 |
heading | ) |
|
Sets the heading
field to heading.
- Parameters
-
heading | The field value to set. |
◆ setPositionLat()
void GpsMetadataMessage::setPositionLat |
( |
const qint32 |
positionLat | ) |
|
Sets the positionLat
field to positionLat.
- Parameters
-
positionLat | The field value to set. |
◆ setPositionLong()
void GpsMetadataMessage::setPositionLong |
( |
const qint32 |
positionLong | ) |
|
Sets the positionLong
field to positionLong.
- Parameters
-
positionLong | The field value to set. |
◆ setTimestamp()
void GpsMetadataMessage::setTimestamp |
( |
const DateTime |
timestamp | ) |
|
Sets the timestamp
field to timestamp.
- Parameters
-
timestamp | The field value to set. |
◆ setTimestampMs()
void GpsMetadataMessage::setTimestampMs |
( |
const quint16 |
timestampMs | ) |
|
Sets the timestampMs
field to timestampMs.
- Parameters
-
timestampMs | The field value to set. |
◆ setUtcTimestamp()
void GpsMetadataMessage::setUtcTimestamp |
( |
const DateTime |
utcTimestamp | ) |
|
Sets the utcTimestamp
field to utcTimestamp.
- Parameters
-
utcTimestamp | The field value to set. |
◆ setVelocity()
void GpsMetadataMessage::setVelocity |
( |
const qint16 |
velocity | ) |
|
Sets the velocity
field to velocity.
- Parameters
-
velocity | The field value to set. |
◆ timestamp()
DateTime GpsMetadataMessage::timestamp |
( |
| ) |
const |
Returns the GpsMetadataMessage data message's timestamp
field's current value.
Whole second part of the timestamp.
- Returns
- the
timestamp
field value.
◆ timestampMs()
quint16 GpsMetadataMessage::timestampMs |
( |
| ) |
const |
Returns the GpsMetadataMessage data message's timestampMs
field's current value.
Millisecond part of the timestamp.
- Returns
- the
timestampMs
field value.
◆ utcTimestamp()
DateTime GpsMetadataMessage::utcTimestamp |
( |
| ) |
const |
Returns the GpsMetadataMessage data message's utcTimestamp
field's current value.
Used to correlate UTC to system time if the timestamp of the message is in system time. This UTC time is derived from the GPS data.
- Returns
- the
utcTimestamp
field value.
◆ velocity()
qint16 GpsMetadataMessage::velocity |
( |
| ) |
const |
Returns the GpsMetadataMessage data message's velocity
field's current value.
velocity[0] is lon velocity. Velocity[1] is lat velocity. Velocity[2] is altitude velocity.
- Returns
- the
velocity
field value.
The documentation for this class was generated from the following files: