|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| SegmentIdMessagePrivate (SegmentIdMessage *const q) | |
| virtual | ~SegmentIdMessagePrivate () |
Public Member Functions inherited from AbstractDataMessagePrivate | |
| AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
| virtual | ~AbstractDataMessagePrivate () |
| bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
| QString | name |
| The SegmentIdMessage FIT message's name field. More... | |
| QString | uuid |
| The SegmentIdMessage FIT message's uuid field. More... | |
| Sport | sport |
| The SegmentIdMessage FIT message's sport field. More... | |
| bool | enabled |
| The SegmentIdMessage FIT message's enabled field. More... | |
| quint32 | userProfilePrimaryKey |
| The SegmentIdMessage FIT message's userProfilePrimaryKey field. More... | |
| quint32 | deviceId |
| The SegmentIdMessage FIT message's deviceId field. More... | |
| quint8 | defaultRaceLeader |
| The SegmentIdMessage FIT message's defaultRaceLeader field. More... | |
| SegmentDeleteStatus | deleteStatus |
| The SegmentIdMessage FIT message's deleteStatus field. More... | |
| SegmentSelectionType | selectionType |
| The SegmentIdMessage FIT message's selectionType field. More... | |
Public Attributes inherited from AbstractDataMessagePrivate | |
| 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 |
Protected Member Functions inherited from AbstractDataMessagePrivate | |
| bool | verify (const QByteArray &data, const FitBaseType actualType, const int expectedSize, const FitBaseType expectedType, const char *messageFieldName) |
Additional Inherited Members | |
Protected Attributes inherited from AbstractDataMessagePrivate | |
| AbstractDataMessage *const | q_ptr |
| Internal q-pointer. | |
The SegmentIdMessagePrivate class provides private implementation for the SegmentIdMessage.
Definition at line 38 of file segmentidmessage_p.h.
|
explicit |
Constructs a SegmentIdMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 296 of file segmentidmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the SegmentIdMessagePrivate object.
Definition at line 314 of file segmentidmessage.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 319 of file segmentidmessage.cpp.
References AbstractDataMessagePrivate::verify().
| quint8 SegmentIdMessagePrivate::defaultRaceLeader |
The SegmentIdMessage FIT message's defaultRaceLeader field.
Index for the Leader Board entry selected as the default race participant
Definition at line 88 of file segmentidmessage_p.h.
| SegmentDeleteStatus SegmentIdMessagePrivate::deleteStatus |
The SegmentIdMessage FIT message's deleteStatus field.
Indicates if any segments should be deleted
Definition at line 95 of file segmentidmessage_p.h.
| quint32 SegmentIdMessagePrivate::deviceId |
The SegmentIdMessage FIT message's deviceId field.
ID of the device that created the segment
Definition at line 81 of file segmentidmessage_p.h.
| bool SegmentIdMessagePrivate::enabled |
The SegmentIdMessage FIT message's enabled field.
Segment enabled for evaluation
Definition at line 67 of file segmentidmessage_p.h.
| QString SegmentIdMessagePrivate::name |
The SegmentIdMessage FIT message's name field.
Friendly name assigned to segment
Definition at line 46 of file segmentidmessage_p.h.
| SegmentSelectionType SegmentIdMessagePrivate::selectionType |
The SegmentIdMessage FIT message's selectionType field.
Indicates how the segment was selected to be sent to the device
Definition at line 102 of file segmentidmessage_p.h.
| Sport SegmentIdMessagePrivate::sport |
The SegmentIdMessage FIT message's sport field.
Sport associated with the segment
Definition at line 60 of file segmentidmessage_p.h.
| quint32 SegmentIdMessagePrivate::userProfilePrimaryKey |
The SegmentIdMessage FIT message's userProfilePrimaryKey field.
Primary key of the user that created the segment
Definition at line 74 of file segmentidmessage_p.h.
| QString SegmentIdMessagePrivate::uuid |
The SegmentIdMessage FIT message's uuid field.
UUID of the segment
Definition at line 53 of file segmentidmessage_p.h.