|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| WeightScaleMessagePrivate (WeightScaleMessage *const q) | |
| virtual | ~WeightScaleMessagePrivate () |
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 WeightScaleMessage FIT message's timestamp field. | |
| Weight | weight |
| The WeightScaleMessage FIT message's weight field. | |
| quint16 | percentFat |
| The WeightScaleMessage FIT message's percentFat field. | |
| quint16 | percentHydration |
| The WeightScaleMessage FIT message's percentHydration field. | |
| quint16 | visceralFatMass |
| The WeightScaleMessage FIT message's visceralFatMass field. | |
| quint16 | boneMass |
| The WeightScaleMessage FIT message's boneMass field. | |
| quint16 | muscleMass |
| The WeightScaleMessage FIT message's muscleMass field. | |
| quint16 | basalMet |
| The WeightScaleMessage FIT message's basalMet field. | |
| quint8 | physiqueRating |
| The WeightScaleMessage FIT message's physiqueRating field. | |
| quint16 | activeMet |
| The WeightScaleMessage FIT message's activeMet field. More... | |
| quint8 | metabolicAge |
| The WeightScaleMessage FIT message's metabolicAge field. | |
| quint8 | visceralFatRating |
| The WeightScaleMessage FIT message's visceralFatRating field. | |
| MessageIndex | userProfileIndex |
| The WeightScaleMessage FIT message's userProfileIndex 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 WeightScaleMessagePrivate class provides private implementation for the WeightScaleMessage.
Definition at line 38 of file weightscalemessage_p.h.
|
explicit |
Constructs a WeightScaleMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 367 of file weightscalemessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the WeightScaleMessagePrivate object.
Definition at line 391 of file weightscalemessage.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 396 of file weightscalemessage.cpp.
References AbstractDataMessagePrivate::verify().
| quint16 WeightScaleMessagePrivate::activeMet |
The WeightScaleMessage FIT message's activeMet field.
~4kJ per kcal, 0.25 allows max 16384 kcal
Definition at line 91 of file weightscalemessage_p.h.
| MessageIndex WeightScaleMessagePrivate::userProfileIndex |
The WeightScaleMessage FIT message's userProfileIndex field.
Associates this weight scale message to a user. This corresponds to the index of the user profile message in the weight scale file.
Definition at line 109 of file weightscalemessage_p.h.