QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
SegmentPointMessagePrivate (SegmentPointMessage *const q) | |
virtual | ~SegmentPointMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
MessageIndex | messageIndex |
The SegmentPointMessage FIT message's messageIndex field. | |
qint32 | positionLat |
The SegmentPointMessage FIT message's positionLat field. | |
qint32 | positionLong |
The SegmentPointMessage FIT message's positionLong field. | |
quint32 | distance |
The SegmentPointMessage FIT message's distance field. More... | |
quint16 | altitude |
The SegmentPointMessage FIT message's altitude field. More... | |
quint32 | leaderTime |
The SegmentPointMessage FIT message's leaderTime field. More... | |
![]() | |
MesgNum | globalMessageNumber |
FIT Globla Message Number for this FIT Data Message. | |
Protected Member Functions | |
bool | setField (const int fieldId, const QByteArray &data, const FitBaseType baseType, const bool bigEndian) override |
![]() | |
bool | verify (const QByteArray &data, const FitBaseType actualType, const int expectedSize, const FitBaseType expectedType, const char *messageFieldName) |
Additional Inherited Members | |
![]() | |
AbstractDataMessage *const | q_ptr |
Internal q-pointer. | |
The SegmentPointMessagePrivate class provides private implementation for the SegmentPointMessage.
Definition at line 38 of file segmentpointmessage_p.h.
|
explicit |
Constructs a SegmentPointMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 222 of file segmentpointmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the SegmentPointMessagePrivate object.
Definition at line 239 of file segmentpointmessage.cpp.
|
overrideprotectedvirtual |
Sets the value of the fieldId field.
Derived classes must implement this method to extract the baseType value from data, and assign the extracted value the fieldId field.
fieldId | The field number within the given FIT data message. |
data | The raw data to extract the field value from. |
baseType | The FIT base type for the field. |
bigEndian | Whether or not multibyte values in record are big-endian. |
true
if the field was set, or safely ignored; false
otherwise. Implements AbstractDataMessagePrivate.
Definition at line 244 of file segmentpointmessage.cpp.
References AbstractDataMessagePrivate::verify().
quint16 SegmentPointMessagePrivate::altitude |
The SegmentPointMessage FIT message's altitude field.
Accumulated altitude along the segment at the described point
Definition at line 68 of file segmentpointmessage_p.h.
quint32 SegmentPointMessagePrivate::distance |
The SegmentPointMessage FIT message's distance field.
Accumulated distance along the segment at the described point
Definition at line 61 of file segmentpointmessage_p.h.
quint32 SegmentPointMessagePrivate::leaderTime |
The SegmentPointMessage FIT message's leaderTime field.
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.
Definition at line 76 of file segmentpointmessage_p.h.