|
QtFit
0.1
Internal library development documentation
|
The SegmentPointMessage class represents a FIT SegmentPointMessage data message. More...
Public Member Functions | |
| SegmentPointMessage () | |
| Constructs a SegmentPointMessage object. More... | |
| MessageIndex | messageIndex () const |
Returns the SegmentPointMessage data message's messageIndex field's current value. More... | |
| qint32 | positionLat () const |
Returns the SegmentPointMessage data message's positionLat field's current value. More... | |
| qint32 | positionLong () const |
Returns the SegmentPointMessage data message's positionLong field's current value. More... | |
| quint32 | distance () const |
Returns the SegmentPointMessage data message's distance field's current value. More... | |
| quint16 | altitude () const |
Returns the SegmentPointMessage data message's altitude field's current value. More... | |
| quint32 | leaderTime () const |
Returns the SegmentPointMessage data message's leaderTime field's current value. More... | |
| void | setMessageIndex (const MessageIndex messageIndex) |
Sets the messageIndex field to messageIndex. More... | |
| void | setPositionLat (const qint32 positionLat) |
Sets the positionLat field to positionLat. More... | |
| void | setPositionLong (const qint32 positionLong) |
Sets the positionLong field to positionLong. More... | |
| void | setDistance (const quint32 distance) |
Sets the distance field to distance. More... | |
| void | setAltitude (const quint16 altitude) |
Sets the altitude field to altitude. More... | |
| void | setLeaderTime (const quint32 leaderTime) |
Sets the leaderTime field to leaderTime. More... | |
Public Member Functions inherited from AbstractDataMessage | |
| ~AbstractDataMessage () | |
| Destroys the AbstractDataMessage object. | |
| MesgNum | globalMessageNumber () const |
| Returns the data message's global message number. More... | |
Protected Member Functions | |
| SegmentPointMessage (SegmentPointMessagePrivate *const d) | |
Protected Member Functions inherited from AbstractDataMessage | |
| AbstractDataMessage (AbstractDataMessagePrivate *const d) | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractDataMessage | |
| static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
Protected Attributes inherited from AbstractDataMessage | |
| AbstractDataMessagePrivate *const | d_ptr |
| Internal d-pointer. | |
The SegmentPointMessage class represents a FIT SegmentPointMessage data message.
Definition at line 39 of file segmentpointmessage.h.
| 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.
Definition at line 52 of file segmentpointmessage.cpp.
|
explicitprotected |
Constructs a SegmentPointMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file segmentpointmessage.cpp.
| quint16 SegmentPointMessage::altitude | ( | ) | const |
Returns the SegmentPointMessage data message's altitude field's current value.
Accumulated altitude along the segment at the described point
altitude field value. Definition at line 122 of file segmentpointmessage.cpp.
Referenced by setAltitude().
| quint32 SegmentPointMessage::distance | ( | ) | const |
Returns the SegmentPointMessage data message's distance field's current value.
Accumulated distance along the segment at the described point
distance field value. Definition at line 109 of file segmentpointmessage.cpp.
Referenced by setDistance().
| 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.
leaderTime field value. Definition at line 136 of file segmentpointmessage.cpp.
Referenced by setLeaderTime().
| MessageIndex SegmentPointMessage::messageIndex | ( | ) | const |
Returns the SegmentPointMessage data message's messageIndex field's current value.
messageIndex field value. Definition at line 74 of file segmentpointmessage.cpp.
Referenced by setMessageIndex().
| qint32 SegmentPointMessage::positionLat | ( | ) | const |
Returns the SegmentPointMessage data message's positionLat field's current value.
positionLat field value. Definition at line 85 of file segmentpointmessage.cpp.
Referenced by setPositionLat().
| qint32 SegmentPointMessage::positionLong | ( | ) | const |
Returns the SegmentPointMessage data message's positionLong field's current value.
positionLong field value. Definition at line 96 of file segmentpointmessage.cpp.
Referenced by setPositionLong().
| void SegmentPointMessage::setAltitude | ( | const quint16 | altitude | ) |
Sets the altitude field to altitude.
| altitude | The field value to set. |
Definition at line 187 of file segmentpointmessage.cpp.
References altitude().
| void SegmentPointMessage::setDistance | ( | const quint32 | distance | ) |
Sets the distance field to distance.
| distance | The field value to set. |
Definition at line 177 of file segmentpointmessage.cpp.
References distance().
| void SegmentPointMessage::setLeaderTime | ( | const quint32 | leaderTime | ) |
Sets the leaderTime field to leaderTime.
| leaderTime | The field value to set. |
Definition at line 197 of file segmentpointmessage.cpp.
References leaderTime().
| void SegmentPointMessage::setMessageIndex | ( | const MessageIndex | messageIndex | ) |
Sets the messageIndex field to messageIndex.
| messageIndex | The field value to set. |
Definition at line 147 of file segmentpointmessage.cpp.
References messageIndex().
| void SegmentPointMessage::setPositionLat | ( | const qint32 | positionLat | ) |
Sets the positionLat field to positionLat.
| positionLat | The field value to set. |
Definition at line 157 of file segmentpointmessage.cpp.
References positionLat().
| void SegmentPointMessage::setPositionLong | ( | const qint32 | positionLong | ) |
Sets the positionLong field to positionLong.
| positionLong | The field value to set. |
Definition at line 167 of file segmentpointmessage.cpp.
References positionLong().