|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| TotalsMessagePrivate (TotalsMessage *const q) | |
| virtual | ~TotalsMessagePrivate () |
Public Member Functions inherited from AbstractDataMessagePrivate | |
| AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
| virtual | ~AbstractDataMessagePrivate () |
| bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
| MessageIndex | messageIndex |
| The TotalsMessage FIT message's messageIndex field. | |
| DateTime | timestamp |
| The TotalsMessage FIT message's timestamp field. | |
| quint32 | timerTime |
| The TotalsMessage FIT message's timerTime field. More... | |
| quint32 | distance |
| The TotalsMessage FIT message's distance field. | |
| quint32 | calories |
| The TotalsMessage FIT message's calories field. | |
| Sport | sport |
| The TotalsMessage FIT message's sport field. | |
| quint32 | elapsedTime |
| The TotalsMessage FIT message's elapsedTime field. More... | |
| quint16 | sessions |
| The TotalsMessage FIT message's sessions field. | |
| quint32 | activeTime |
| The TotalsMessage FIT message's activeTime field. | |
| quint8 | sportIndex |
| The TotalsMessage FIT message's sportIndex 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 TotalsMessagePrivate class provides private implementation for the TotalsMessage.
Definition at line 38 of file totalsmessage_p.h.
|
explicit |
Constructs a TotalsMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 303 of file totalsmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the TotalsMessagePrivate object.
Definition at line 324 of file totalsmessage.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 329 of file totalsmessage.cpp.
References AbstractDataMessagePrivate::verify().
| quint32 TotalsMessagePrivate::elapsedTime |
The TotalsMessage FIT message's elapsedTime field.
Includes pauses
Definition at line 78 of file totalsmessage_p.h.
| quint32 TotalsMessagePrivate::timerTime |
The TotalsMessage FIT message's timerTime field.
Excludes pauses
Definition at line 56 of file totalsmessage_p.h.