The SegmentPointMessage class represents a FIT SegmentPointMessage 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 SegmentPointMessage class represents a FIT SegmentPointMessage data message.
- See also
- DataMessage
◆ SegmentPointMessage()
SegmentPointMessage::SegmentPointMessage |
( |
| ) |
|
Constructs a SegmentPointMessage 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.
◆ altitude()
quint16 SegmentPointMessage::altitude |
( |
| ) |
const |
Returns the SegmentPointMessage data message's altitude
field's current value.
Accumulated altitude along the segment at the described point
- Returns
- the
altitude
field value.
◆ distance()
quint32 SegmentPointMessage::distance |
( |
| ) |
const |
Returns the SegmentPointMessage data message's distance
field's current value.
Accumulated distance along the segment at the described point
- Returns
- the
distance
field value.
◆ leaderTime()
quint32 SegmentPointMessage::leaderTime |
( |
| ) |
const |
Returns the SegmentPointMessage data message's leaderTime
field's current value.
Accumualted time each leader board member required to reach the described point. This value is zero for all leader board members at the starting point of the segment.
- Returns
- the
leaderTime
field value.
◆ messageIndex()
Returns the SegmentPointMessage data message's messageIndex
field's current value.
- Returns
- the
messageIndex
field value.
◆ positionLat()
qint32 SegmentPointMessage::positionLat |
( |
| ) |
const |
Returns the SegmentPointMessage data message's positionLat
field's current value.
- Returns
- the
positionLat
field value.
◆ positionLong()
qint32 SegmentPointMessage::positionLong |
( |
| ) |
const |
Returns the SegmentPointMessage data message's positionLong
field's current value.
- Returns
- the
positionLong
field value.
◆ setAltitude()
void SegmentPointMessage::setAltitude |
( |
const quint16 |
altitude | ) |
|
Sets the altitude
field to altitude.
- Parameters
-
altitude | The field value to set. |
◆ setDistance()
void SegmentPointMessage::setDistance |
( |
const quint32 |
distance | ) |
|
Sets the distance
field to distance.
- Parameters
-
distance | The field value to set. |
◆ setLeaderTime()
void SegmentPointMessage::setLeaderTime |
( |
const quint32 |
leaderTime | ) |
|
Sets the leaderTime
field to leaderTime.
- Parameters
-
leaderTime | The field value to set. |
◆ setMessageIndex()
void SegmentPointMessage::setMessageIndex |
( |
const MessageIndex |
messageIndex | ) |
|
Sets the messageIndex
field to messageIndex.
- Parameters
-
messageIndex | The field value to set. |
◆ setPositionLat()
void SegmentPointMessage::setPositionLat |
( |
const qint32 |
positionLat | ) |
|
Sets the positionLat
field to positionLat.
- Parameters
-
positionLat | The field value to set. |
◆ setPositionLong()
void SegmentPointMessage::setPositionLong |
( |
const qint32 |
positionLong | ) |
|
Sets the positionLong
field to positionLong.
- Parameters
-
positionLong | The field value to set. |
The documentation for this class was generated from the following files: