|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| SetMessagePrivate (SetMessage *const q) | |
| virtual | ~SetMessagePrivate () |
Public Member Functions inherited from AbstractDataMessagePrivate | |
| AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
| virtual | ~AbstractDataMessagePrivate () |
| bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
| DateTime | timestamp |
| The SetMessage FIT message's timestamp field. More... | |
| quint32 | duration |
| The SetMessage FIT message's duration field. | |
| quint16 | repetitions |
| The SetMessage FIT message's repetitions field. More... | |
| quint16 | weight |
| The SetMessage FIT message's weight field. More... | |
| SetType | setType |
| The SetMessage FIT message's setType field. | |
| DateTime | startTime |
| The SetMessage FIT message's startTime field. More... | |
| ExerciseCategory | category |
| The SetMessage FIT message's category field. | |
| quint16 | categorySubtype |
| The SetMessage FIT message's categorySubtype field. More... | |
| FitBaseUnit | weightDisplayUnit |
| The SetMessage FIT message's weightDisplayUnit field. | |
| MessageIndex | messageIndex |
| The SetMessage FIT message's messageIndex field. | |
| MessageIndex | wktStepIndex |
| The SetMessage FIT message's wktStepIndex field. | |
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 SetMessagePrivate class provides private implementation for the SetMessage.
Definition at line 38 of file setmessage_p.h.
|
explicit |
Constructs a SetMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 330 of file setmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the SetMessagePrivate object.
Definition at line 352 of file setmessage.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 357 of file setmessage.cpp.
References AbstractDataMessagePrivate::verify().
| quint16 SetMessagePrivate::categorySubtype |
The SetMessage FIT message's categorySubtype field.
Based on the associated category, see [category]_exercise_names
Definition at line 89 of file setmessage_p.h.
| quint16 SetMessagePrivate::repetitions |
The SetMessage FIT message's repetitions field.
Definition at line 58 of file setmessage_p.h.
| DateTime SetMessagePrivate::startTime |
The SetMessage FIT message's startTime field.
Start time of the set
Definition at line 77 of file setmessage_p.h.
| DateTime SetMessagePrivate::timestamp |
The SetMessage FIT message's timestamp field.
Timestamp of the set
Definition at line 46 of file setmessage_p.h.
| quint16 SetMessagePrivate::weight |
The SetMessage FIT message's weight field.
Amount of weight applied for the set
Definition at line 65 of file setmessage_p.h.