|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| LengthMessagePrivate (LengthMessage *const q) | |
| virtual | ~LengthMessagePrivate () |
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 LengthMessage FIT message's messageIndex field. | |
| DateTime | timestamp |
| The LengthMessage FIT message's timestamp field. | |
| Event | event |
| The LengthMessage FIT message's event field. | |
| EventType | eventType |
| The LengthMessage FIT message's eventType field. | |
| DateTime | startTime |
| The LengthMessage FIT message's startTime field. | |
| quint32 | totalElapsedTime |
| The LengthMessage FIT message's totalElapsedTime field. | |
| quint32 | totalTimerTime |
| The LengthMessage FIT message's totalTimerTime field. | |
| quint16 | totalStrokes |
| The LengthMessage FIT message's totalStrokes field. | |
| quint16 | avgSpeed |
| The LengthMessage FIT message's avgSpeed field. | |
| SwimStroke | swimStroke |
| The LengthMessage FIT message's swimStroke field. | |
| quint8 | avgSwimmingCadence |
| The LengthMessage FIT message's avgSwimmingCadence field. | |
| quint8 | eventGroup |
| The LengthMessage FIT message's eventGroup field. | |
| quint16 | totalCalories |
| The LengthMessage FIT message's totalCalories field. | |
| LengthType | lengthType |
| The LengthMessage FIT message's lengthType field. | |
| quint16 | playerScore |
| The LengthMessage FIT message's playerScore field. | |
| quint16 | opponentScore |
| The LengthMessage FIT message's opponentScore field. | |
| quint16 | strokeCount |
| The LengthMessage FIT message's strokeCount field. More... | |
| quint16 | zoneCount |
| The LengthMessage FIT message's zoneCount 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 LengthMessagePrivate class provides private implementation for the LengthMessage.
Definition at line 38 of file lengthmessage_p.h.
|
explicit |
Constructs a LengthMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 471 of file lengthmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the LengthMessagePrivate object.
Definition at line 500 of file lengthmessage.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 505 of file lengthmessage.cpp.
References AbstractDataMessagePrivate::verify().
| quint16 LengthMessagePrivate::strokeCount |
The LengthMessage FIT message's strokeCount field.
stroke_type enum used as the index
Definition at line 126 of file lengthmessage_p.h.
| quint16 LengthMessagePrivate::zoneCount |
The LengthMessage FIT message's zoneCount field.
zone number used as the index
Definition at line 133 of file lengthmessage_p.h.