QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
SegmentFileMessagePrivate (SegmentFileMessage *const q) | |
virtual | ~SegmentFileMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
MessageIndex | messageIndex |
The SegmentFileMessage FIT message's messageIndex field. | |
QString | fileUuid |
The SegmentFileMessage FIT message's fileUuid field. More... | |
bool | enabled |
The SegmentFileMessage FIT message's enabled field. More... | |
quint32 | userProfilePrimaryKey |
The SegmentFileMessage FIT message's userProfilePrimaryKey field. More... | |
SegmentLeaderboardType | leaderType |
The SegmentFileMessage FIT message's leaderType field. More... | |
quint32 | leaderGroupPrimaryKey |
The SegmentFileMessage FIT message's leaderGroupPrimaryKey field. More... | |
quint32 | leaderActivityId |
The SegmentFileMessage FIT message's leaderActivityId field. More... | |
QString | leaderActivityIdString |
The SegmentFileMessage FIT message's leaderActivityIdString field. More... | |
quint8 | defaultRaceLeader |
The SegmentFileMessage FIT message's defaultRaceLeader 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 SegmentFileMessagePrivate class provides private implementation for the SegmentFileMessage.
Definition at line 38 of file segmentfilemessage_p.h.
|
explicit |
Constructs a SegmentFileMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 295 of file segmentfilemessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the SegmentFileMessagePrivate object.
Definition at line 313 of file segmentfilemessage.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 318 of file segmentfilemessage.cpp.
References AbstractDataMessagePrivate::verify().
quint8 SegmentFileMessagePrivate::defaultRaceLeader |
The SegmentFileMessage FIT message's defaultRaceLeader field.
Index for the Leader Board entry selected as the default race participant
Definition at line 101 of file segmentfilemessage_p.h.
bool SegmentFileMessagePrivate::enabled |
The SegmentFileMessage FIT message's enabled field.
Enabled state of the segment file
Definition at line 58 of file segmentfilemessage_p.h.
QString SegmentFileMessagePrivate::fileUuid |
The SegmentFileMessage FIT message's fileUuid field.
UUID of the segment file
Definition at line 51 of file segmentfilemessage_p.h.
quint32 SegmentFileMessagePrivate::leaderActivityId |
The SegmentFileMessage FIT message's leaderActivityId field.
Activity ID of each leader in the segment file
Definition at line 86 of file segmentfilemessage_p.h.
QString SegmentFileMessagePrivate::leaderActivityIdString |
The SegmentFileMessage FIT message's leaderActivityIdString field.
String version of the activity ID of each leader in the segment file. 21 characters long for each ID, express in decimal
Definition at line 94 of file segmentfilemessage_p.h.
quint32 SegmentFileMessagePrivate::leaderGroupPrimaryKey |
The SegmentFileMessage FIT message's leaderGroupPrimaryKey field.
Group primary key of each leader in the segment file
Definition at line 79 of file segmentfilemessage_p.h.
SegmentLeaderboardType SegmentFileMessagePrivate::leaderType |
The SegmentFileMessage FIT message's leaderType field.
Leader type of each leader in the segment file
Definition at line 72 of file segmentfilemessage_p.h.
quint32 SegmentFileMessagePrivate::userProfilePrimaryKey |
The SegmentFileMessage FIT message's userProfilePrimaryKey field.
Primary key of the user that created the segment file
Definition at line 65 of file segmentfilemessage_p.h.