|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| WorkoutMessagePrivate (WorkoutMessage *const q) | |
| virtual | ~WorkoutMessagePrivate () |
Public Member Functions inherited from AbstractDataMessagePrivate | |
| AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
| virtual | ~AbstractDataMessagePrivate () |
| bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
| Sport | sport |
| The WorkoutMessage FIT message's sport field. | |
| WorkoutCapabilities | capabilities |
| The WorkoutMessage FIT message's capabilities field. | |
| quint16 | numValidSteps |
| The WorkoutMessage FIT message's numValidSteps field. More... | |
| QString | wktName |
| The WorkoutMessage FIT message's wktName field. | |
| SubSport | subSport |
| The WorkoutMessage FIT message's subSport field. | |
| quint16 | poolLength |
| The WorkoutMessage FIT message's poolLength field. | |
| DisplayMeasure | poolLengthUnit |
| The WorkoutMessage FIT message's poolLengthUnit 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 WorkoutMessagePrivate class provides private implementation for the WorkoutMessage.
Definition at line 38 of file workoutmessage_p.h.
|
explicit |
Constructs a WorkoutMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 238 of file workoutmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the WorkoutMessagePrivate object.
Definition at line 255 of file workoutmessage.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 260 of file workoutmessage.cpp.
References AbstractDataMessagePrivate::verify().
| quint16 WorkoutMessagePrivate::numValidSteps |
The WorkoutMessage FIT message's numValidSteps field.
number of valid steps
Definition at line 56 of file workoutmessage_p.h.