QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
FieldDescriptionMessagePrivate (FieldDescriptionMessage *const q) | |
virtual | ~FieldDescriptionMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
quint8 | developerDataIndex |
The FieldDescriptionMessage FIT message's developerDataIndex field. | |
quint8 | fieldDefinitionNumber |
The FieldDescriptionMessage FIT message's fieldDefinitionNumber field. | |
FitBaseType | fitBaseTypeId |
The FieldDescriptionMessage FIT message's fitBaseTypeId field. | |
QString | fieldName |
The FieldDescriptionMessage FIT message's fieldName field. | |
quint8 | array |
The FieldDescriptionMessage FIT message's array field. | |
QString | components |
The FieldDescriptionMessage FIT message's components field. | |
quint8 | scale |
The FieldDescriptionMessage FIT message's scale field. | |
qint8 | offset |
The FieldDescriptionMessage FIT message's offset field. | |
QString | units |
The FieldDescriptionMessage FIT message's units field. | |
QString | bits |
The FieldDescriptionMessage FIT message's bits field. | |
QString | accumulate |
The FieldDescriptionMessage FIT message's accumulate field. | |
FitBaseUnit | fitBaseUnitId |
The FieldDescriptionMessage FIT message's fitBaseUnitId field. | |
MesgNum | nativeMesgNum |
The FieldDescriptionMessage FIT message's nativeMesgNum field. | |
quint8 | nativeFieldNum |
The FieldDescriptionMessage FIT message's nativeFieldNum field. | |
![]() | |
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 |
![]() | |
bool | verify (const QByteArray &data, const FitBaseType actualType, const int expectedSize, const FitBaseType expectedType, const char *messageFieldName) |
Additional Inherited Members | |
![]() | |
AbstractDataMessage *const | q_ptr |
Internal q-pointer. | |
The FieldDescriptionMessagePrivate class provides private implementation for the FieldDescriptionMessage.
Definition at line 38 of file fielddescriptionmessage_p.h.
|
explicit |
Constructs a FieldDescriptionMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 383 of file fielddescriptionmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the FieldDescriptionMessagePrivate object.
Definition at line 403 of file fielddescriptionmessage.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 408 of file fielddescriptionmessage.cpp.
References AbstractDataMessagePrivate::verify().