|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| SdmProfileMessagePrivate (SdmProfileMessage *const q) | |
| virtual | ~SdmProfileMessagePrivate () |
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 SdmProfileMessage FIT message's messageIndex field. | |
| bool | enabled |
| The SdmProfileMessage FIT message's enabled field. | |
| quint16z | sdmAntId |
| The SdmProfileMessage FIT message's sdmAntId field. | |
| quint16 | sdmCalFactor |
| The SdmProfileMessage FIT message's sdmCalFactor field. | |
| quint32 | odometer |
| The SdmProfileMessage FIT message's odometer field. | |
| bool | speedSource |
| The SdmProfileMessage FIT message's speedSource field. More... | |
| quint8z | sdmAntIdTransType |
| The SdmProfileMessage FIT message's sdmAntIdTransType field. | |
| quint8 | odometerRollover |
| The SdmProfileMessage FIT message's odometerRollover 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 SdmProfileMessagePrivate class provides private implementation for the SdmProfileMessage.
Definition at line 38 of file sdmprofilemessage_p.h.
|
explicit |
Constructs a SdmProfileMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 261 of file sdmprofilemessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the SdmProfileMessagePrivate object.
Definition at line 280 of file sdmprofilemessage.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 285 of file sdmprofilemessage.cpp.
References AbstractDataMessagePrivate::verify().
| quint8 SdmProfileMessagePrivate::odometerRollover |
The SdmProfileMessage FIT message's odometerRollover field.
Rollover counter that can be used to extend the odometer
Definition at line 83 of file sdmprofilemessage_p.h.
| bool SdmProfileMessagePrivate::speedSource |
The SdmProfileMessage FIT message's speedSource field.
Use footpod for speed source instead of GPS
Definition at line 71 of file sdmprofilemessage_p.h.