QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
LapMessagePrivate (LapMessage *const q) | |
virtual | ~LapMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
MessageIndex | messageIndex |
The LapMessage FIT message's messageIndex field. | |
DateTime | timestamp |
The LapMessage FIT message's timestamp field. More... | |
Event | event |
The LapMessage FIT message's event field. | |
EventType | eventType |
The LapMessage FIT message's eventType field. | |
DateTime | startTime |
The LapMessage FIT message's startTime field. | |
qint32 | startPositionLat |
The LapMessage FIT message's startPositionLat field. | |
qint32 | startPositionLong |
The LapMessage FIT message's startPositionLong field. | |
qint32 | endPositionLat |
The LapMessage FIT message's endPositionLat field. | |
qint32 | endPositionLong |
The LapMessage FIT message's endPositionLong field. | |
quint32 | totalElapsedTime |
The LapMessage FIT message's totalElapsedTime field. More... | |
quint32 | totalTimerTime |
The LapMessage FIT message's totalTimerTime field. More... | |
quint32 | totalDistance |
The LapMessage FIT message's totalDistance field. | |
quint32 | totalCycles |
The LapMessage FIT message's totalCycles field. | |
quint16 | totalCalories |
The LapMessage FIT message's totalCalories field. | |
quint16 | totalFatCalories |
The LapMessage FIT message's totalFatCalories field. More... | |
quint16 | avgSpeed |
The LapMessage FIT message's avgSpeed field. | |
quint16 | maxSpeed |
The LapMessage FIT message's maxSpeed field. | |
quint8 | avgHeartRate |
The LapMessage FIT message's avgHeartRate field. | |
quint8 | maxHeartRate |
The LapMessage FIT message's maxHeartRate field. | |
quint8 | avgCadence |
The LapMessage FIT message's avgCadence field. More... | |
quint8 | maxCadence |
The LapMessage FIT message's maxCadence field. | |
quint16 | avgPower |
The LapMessage FIT message's avgPower field. More... | |
quint16 | maxPower |
The LapMessage FIT message's maxPower field. | |
quint16 | totalAscent |
The LapMessage FIT message's totalAscent field. | |
quint16 | totalDescent |
The LapMessage FIT message's totalDescent field. | |
Intensity | intensity |
The LapMessage FIT message's intensity field. | |
LapTrigger | lapTrigger |
The LapMessage FIT message's lapTrigger field. | |
Sport | sport |
The LapMessage FIT message's sport field. | |
quint8 | eventGroup |
The LapMessage FIT message's eventGroup field. | |
quint16 | numLengths |
The LapMessage FIT message's numLengths field. More... | |
quint16 | normalizedPower |
The LapMessage FIT message's normalizedPower field. | |
LeftRightBalance100 | leftRightBalance |
The LapMessage FIT message's leftRightBalance field. | |
quint16 | firstLengthIndex |
The LapMessage FIT message's firstLengthIndex field. | |
quint16 | avgStrokeDistance |
The LapMessage FIT message's avgStrokeDistance field. | |
SwimStroke | swimStroke |
The LapMessage FIT message's swimStroke field. | |
SubSport | subSport |
The LapMessage FIT message's subSport field. | |
quint16 | numActiveLengths |
The LapMessage FIT message's numActiveLengths field. More... | |
quint32 | totalWork |
The LapMessage FIT message's totalWork field. | |
quint16 | avgAltitude |
The LapMessage FIT message's avgAltitude field. | |
quint16 | maxAltitude |
The LapMessage FIT message's maxAltitude field. | |
quint8 | gpsAccuracy |
The LapMessage FIT message's gpsAccuracy field. | |
qint16 | avgGrade |
The LapMessage FIT message's avgGrade field. | |
qint16 | avgPosGrade |
The LapMessage FIT message's avgPosGrade field. | |
qint16 | avgNegGrade |
The LapMessage FIT message's avgNegGrade field. | |
qint16 | maxPosGrade |
The LapMessage FIT message's maxPosGrade field. | |
qint16 | maxNegGrade |
The LapMessage FIT message's maxNegGrade field. | |
qint8 | avgTemperature |
The LapMessage FIT message's avgTemperature field. | |
qint8 | maxTemperature |
The LapMessage FIT message's maxTemperature field. | |
quint32 | totalMovingTime |
The LapMessage FIT message's totalMovingTime field. | |
qint16 | avgPosVerticalSpeed |
The LapMessage FIT message's avgPosVerticalSpeed field. | |
qint16 | avgNegVerticalSpeed |
The LapMessage FIT message's avgNegVerticalSpeed field. | |
qint16 | maxPosVerticalSpeed |
The LapMessage FIT message's maxPosVerticalSpeed field. | |
qint16 | maxNegVerticalSpeed |
The LapMessage FIT message's maxNegVerticalSpeed field. | |
quint32 | timeInHrZone |
The LapMessage FIT message's timeInHrZone field. | |
quint32 | timeInSpeedZone |
The LapMessage FIT message's timeInSpeedZone field. | |
quint32 | timeInCadenceZone |
The LapMessage FIT message's timeInCadenceZone field. | |
quint32 | timeInPowerZone |
The LapMessage FIT message's timeInPowerZone field. | |
quint16 | repetitionNum |
The LapMessage FIT message's repetitionNum field. | |
quint16 | minAltitude |
The LapMessage FIT message's minAltitude field. | |
quint8 | minHeartRate |
The LapMessage FIT message's minHeartRate field. | |
MessageIndex | wktStepIndex |
The LapMessage FIT message's wktStepIndex field. | |
quint16 | opponentScore |
The LapMessage FIT message's opponentScore field. | |
quint16 | strokeCount |
The LapMessage FIT message's strokeCount field. More... | |
quint16 | zoneCount |
The LapMessage FIT message's zoneCount field. More... | |
quint16 | avgVerticalOscillation |
The LapMessage FIT message's avgVerticalOscillation field. | |
quint16 | avgStanceTimePercent |
The LapMessage FIT message's avgStanceTimePercent field. | |
quint16 | avgStanceTime |
The LapMessage FIT message's avgStanceTime field. | |
quint8 | avgFractionalCadence |
The LapMessage FIT message's avgFractionalCadence field. More... | |
quint8 | maxFractionalCadence |
The LapMessage FIT message's maxFractionalCadence field. More... | |
quint8 | totalFractionalCycles |
The LapMessage FIT message's totalFractionalCycles field. More... | |
quint16 | playerScore |
The LapMessage FIT message's playerScore field. | |
quint16 | avgTotalHemoglobinConc |
The LapMessage FIT message's avgTotalHemoglobinConc field. More... | |
quint16 | minTotalHemoglobinConc |
The LapMessage FIT message's minTotalHemoglobinConc field. More... | |
quint16 | maxTotalHemoglobinConc |
The LapMessage FIT message's maxTotalHemoglobinConc field. More... | |
quint16 | avgSaturatedHemoglobinPercent |
The LapMessage FIT message's avgSaturatedHemoglobinPercent field. More... | |
quint16 | minSaturatedHemoglobinPercent |
The LapMessage FIT message's minSaturatedHemoglobinPercent field. More... | |
quint16 | maxSaturatedHemoglobinPercent |
The LapMessage FIT message's maxSaturatedHemoglobinPercent field. More... | |
quint8 | avgLeftTorqueEffectiveness |
The LapMessage FIT message's avgLeftTorqueEffectiveness field. | |
quint8 | avgRightTorqueEffectiveness |
The LapMessage FIT message's avgRightTorqueEffectiveness field. | |
quint8 | avgLeftPedalSmoothness |
The LapMessage FIT message's avgLeftPedalSmoothness field. | |
quint8 | avgRightPedalSmoothness |
The LapMessage FIT message's avgRightPedalSmoothness field. | |
quint8 | avgCombinedPedalSmoothness |
The LapMessage FIT message's avgCombinedPedalSmoothness field. | |
quint32 | timeStanding |
The LapMessage FIT message's timeStanding field. More... | |
quint16 | standCount |
The LapMessage FIT message's standCount field. More... | |
qint8 | avgLeftPco |
The LapMessage FIT message's avgLeftPco field. More... | |
qint8 | avgRightPco |
The LapMessage FIT message's avgRightPco field. More... | |
quint8 | avgLeftPowerPhase |
The LapMessage FIT message's avgLeftPowerPhase field. More... | |
quint8 | avgLeftPowerPhasePeak |
The LapMessage FIT message's avgLeftPowerPhasePeak field. More... | |
quint8 | avgRightPowerPhase |
The LapMessage FIT message's avgRightPowerPhase field. More... | |
quint8 | avgRightPowerPhasePeak |
The LapMessage FIT message's avgRightPowerPhasePeak field. More... | |
quint16 | avgPowerPosition |
The LapMessage FIT message's avgPowerPosition field. More... | |
quint16 | maxPowerPosition |
The LapMessage FIT message's maxPowerPosition field. More... | |
quint8 | avgCadencePosition |
The LapMessage FIT message's avgCadencePosition field. More... | |
quint8 | maxCadencePosition |
The LapMessage FIT message's maxCadencePosition field. More... | |
quint32 | enhancedAvgSpeed |
The LapMessage FIT message's enhancedAvgSpeed field. | |
quint32 | enhancedMaxSpeed |
The LapMessage FIT message's enhancedMaxSpeed field. | |
quint32 | enhancedAvgAltitude |
The LapMessage FIT message's enhancedAvgAltitude field. | |
quint32 | enhancedMinAltitude |
The LapMessage FIT message's enhancedMinAltitude field. | |
quint32 | enhancedMaxAltitude |
The LapMessage FIT message's enhancedMaxAltitude field. | |
quint16 | avgLevMotorPower |
The LapMessage FIT message's avgLevMotorPower field. More... | |
quint16 | maxLevMotorPower |
The LapMessage FIT message's maxLevMotorPower field. More... | |
quint8 | levBatteryConsumption |
The LapMessage FIT message's levBatteryConsumption field. More... | |
quint16 | avgVerticalRatio |
The LapMessage FIT message's avgVerticalRatio field. | |
quint16 | avgStanceTimeBalance |
The LapMessage FIT message's avgStanceTimeBalance field. | |
quint16 | avgStepLength |
The LapMessage FIT message's avgStepLength field. | |
quint16 | avgVam |
The LapMessage FIT message's avgVam field. | |
float | totalGrit |
The LapMessage FIT message's totalGrit field. More... | |
float | totalFlow |
The LapMessage FIT message's totalFlow field. More... | |
quint16 | jumpCount |
The LapMessage FIT message's jumpCount field. | |
float | avgGrit |
The LapMessage FIT message's avgGrit field. More... | |
float | avgFlow |
The LapMessage FIT message's avgFlow field. More... | |
quint8 | totalFractionalAscent |
The LapMessage FIT message's totalFractionalAscent field. More... | |
quint8 | totalFractionalDescent |
The LapMessage FIT message's totalFractionalDescent field. More... | |
quint16 | avgCoreTemperature |
The LapMessage FIT message's avgCoreTemperature field. | |
quint16 | minCoreTemperature |
The LapMessage FIT message's minCoreTemperature field. | |
quint16 | maxCoreTemperature |
The LapMessage FIT message's maxCoreTemperature 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 LapMessagePrivate class provides private implementation for the LapMessage.
Definition at line 38 of file lapmessage_p.h.
|
explicit |
Constructs a LapMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 2611 of file lapmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the LapMessagePrivate object.
Definition at line 2738 of file lapmessage.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 2743 of file lapmessage.cpp.
References AbstractDataMessagePrivate::verify().
quint8 LapMessagePrivate::avgCadence |
The LapMessage FIT message's avgCadence field.
total_cycles / total_timer_time if non_zero_avg_cadence otherwise total_cycles / total_elapsed_time
Definition at line 150 of file lapmessage_p.h.
quint8 LapMessagePrivate::avgCadencePosition |
The LapMessage FIT message's avgCadencePosition field.
Average cadence by position. Data value indexes defined by rider_position_type.
Definition at line 566 of file lapmessage_p.h.
float LapMessagePrivate::avgFlow |
The LapMessage FIT message's avgFlow field.
The flow score estimates how long distance wise a cyclist deaccelerates over intervals where deacceleration is unnecessary such as smooth turns or small grade angle intervals.
Definition at line 676 of file lapmessage_p.h.
quint8 LapMessagePrivate::avgFractionalCadence |
The LapMessage FIT message's avgFractionalCadence field.
fractional part of the avg_cadence
Definition at line 403 of file lapmessage_p.h.
float LapMessagePrivate::avgGrit |
The LapMessage FIT message's avgGrit field.
The grit score estimates how challenging a route could be for a cyclist in terms of time spent going over sharp turns or large grade slopes.
Definition at line 668 of file lapmessage_p.h.
qint8 LapMessagePrivate::avgLeftPco |
The LapMessage FIT message's avgLeftPco field.
Average left platform center offset
Definition at line 510 of file lapmessage_p.h.
quint8 LapMessagePrivate::avgLeftPowerPhase |
The LapMessage FIT message's avgLeftPowerPhase field.
Average left power phase angles. Data value indexes defined by power_phase_type.
Definition at line 524 of file lapmessage_p.h.
quint8 LapMessagePrivate::avgLeftPowerPhasePeak |
The LapMessage FIT message's avgLeftPowerPhasePeak field.
Average left power phase peak angles. Data value indexes defined by power_phase_type.
Definition at line 531 of file lapmessage_p.h.
quint16 LapMessagePrivate::avgLevMotorPower |
The LapMessage FIT message's avgLevMotorPower field.
lev average motor power during lap
Definition at line 605 of file lapmessage_p.h.
quint16 LapMessagePrivate::avgPower |
The LapMessage FIT message's avgPower field.
total_power / total_timer_time if non_zero_avg_power otherwise total_power / total_elapsed_time
Definition at line 163 of file lapmessage_p.h.
quint16 LapMessagePrivate::avgPowerPosition |
The LapMessage FIT message's avgPowerPosition field.
Average power by position. Data value indexes defined by rider_position_type.
Definition at line 552 of file lapmessage_p.h.
qint8 LapMessagePrivate::avgRightPco |
The LapMessage FIT message's avgRightPco field.
Average right platform center offset
Definition at line 517 of file lapmessage_p.h.
quint8 LapMessagePrivate::avgRightPowerPhase |
The LapMessage FIT message's avgRightPowerPhase field.
Average right power phase angles. Data value indexes defined by power_phase_type.
Definition at line 538 of file lapmessage_p.h.
quint8 LapMessagePrivate::avgRightPowerPhasePeak |
The LapMessage FIT message's avgRightPowerPhasePeak field.
Average right power phase peak angles. Data value indexes defined by power_phase_type.
Definition at line 545 of file lapmessage_p.h.
quint16 LapMessagePrivate::avgSaturatedHemoglobinPercent |
The LapMessage FIT message's avgSaturatedHemoglobinPercent field.
Avg percentage of hemoglobin saturated with oxygen
Definition at line 450 of file lapmessage_p.h.
quint16 LapMessagePrivate::avgTotalHemoglobinConc |
The LapMessage FIT message's avgTotalHemoglobinConc field.
Avg saturated and unsaturated hemoglobin
Definition at line 429 of file lapmessage_p.h.
quint8 LapMessagePrivate::levBatteryConsumption |
The LapMessage FIT message's levBatteryConsumption field.
lev battery consumption during lap
Definition at line 619 of file lapmessage_p.h.
quint8 LapMessagePrivate::maxCadencePosition |
The LapMessage FIT message's maxCadencePosition field.
Maximum cadence by position. Data value indexes defined by rider_position_type.
Definition at line 573 of file lapmessage_p.h.
quint8 LapMessagePrivate::maxFractionalCadence |
The LapMessage FIT message's maxFractionalCadence field.
fractional part of the max_cadence
Definition at line 410 of file lapmessage_p.h.
quint16 LapMessagePrivate::maxLevMotorPower |
The LapMessage FIT message's maxLevMotorPower field.
lev maximum motor power during lap
Definition at line 612 of file lapmessage_p.h.
quint16 LapMessagePrivate::maxPowerPosition |
The LapMessage FIT message's maxPowerPosition field.
Maximum power by position. Data value indexes defined by rider_position_type.
Definition at line 559 of file lapmessage_p.h.
quint16 LapMessagePrivate::maxSaturatedHemoglobinPercent |
The LapMessage FIT message's maxSaturatedHemoglobinPercent field.
Max percentage of hemoglobin saturated with oxygen
Definition at line 464 of file lapmessage_p.h.
quint16 LapMessagePrivate::maxTotalHemoglobinConc |
The LapMessage FIT message's maxTotalHemoglobinConc field.
Max saturated and unsaturated hemoglobin
Definition at line 443 of file lapmessage_p.h.
quint16 LapMessagePrivate::minSaturatedHemoglobinPercent |
The LapMessage FIT message's minSaturatedHemoglobinPercent field.
Min percentage of hemoglobin saturated with oxygen
Definition at line 457 of file lapmessage_p.h.
quint16 LapMessagePrivate::minTotalHemoglobinConc |
The LapMessage FIT message's minTotalHemoglobinConc field.
Min saturated and unsaturated hemoglobin
Definition at line 436 of file lapmessage_p.h.
quint16 LapMessagePrivate::numActiveLengths |
The LapMessage FIT message's numActiveLengths field.
Definition at line 242 of file lapmessage_p.h.
quint16 LapMessagePrivate::numLengths |
The LapMessage FIT message's numLengths field.
Definition at line 205 of file lapmessage_p.h.
quint16 LapMessagePrivate::standCount |
The LapMessage FIT message's standCount field.
Number of transitions to the standing state
Definition at line 503 of file lapmessage_p.h.
quint16 LapMessagePrivate::strokeCount |
The LapMessage FIT message's strokeCount field.
stroke_type enum used as the index
Definition at line 374 of file lapmessage_p.h.
DateTime LapMessagePrivate::timestamp |
The LapMessage FIT message's timestamp field.
Lap end time.
Definition at line 51 of file lapmessage_p.h.
quint32 LapMessagePrivate::timeStanding |
The LapMessage FIT message's timeStanding field.
Total time spent in the standing position
Definition at line 496 of file lapmessage_p.h.
quint32 LapMessagePrivate::totalElapsedTime |
The LapMessage FIT message's totalElapsedTime field.
Time (includes pauses)
Definition at line 93 of file lapmessage_p.h.
quint16 LapMessagePrivate::totalFatCalories |
The LapMessage FIT message's totalFatCalories field.
If New Leaf
Definition at line 122 of file lapmessage_p.h.
float LapMessagePrivate::totalFlow |
The LapMessage FIT message's totalFlow field.
The flow score estimates how long distance wise a cyclist deaccelerates over intervals where deacceleration is unnecessary such as smooth turns or small grade angle intervals.
Definition at line 655 of file lapmessage_p.h.
quint8 LapMessagePrivate::totalFractionalAscent |
The LapMessage FIT message's totalFractionalAscent field.
fractional part of total_ascent
Definition at line 683 of file lapmessage_p.h.
quint8 LapMessagePrivate::totalFractionalCycles |
The LapMessage FIT message's totalFractionalCycles field.
fractional part of the total_cycles
Definition at line 417 of file lapmessage_p.h.
quint8 LapMessagePrivate::totalFractionalDescent |
The LapMessage FIT message's totalFractionalDescent field.
fractional part of total_descent
Definition at line 690 of file lapmessage_p.h.
float LapMessagePrivate::totalGrit |
The LapMessage FIT message's totalGrit field.
The grit score estimates how challenging a route could be for a cyclist in terms of time spent going over sharp turns or large grade slopes.
Definition at line 647 of file lapmessage_p.h.
quint32 LapMessagePrivate::totalTimerTime |
The LapMessage FIT message's totalTimerTime field.
Timer Time (excludes pauses)
Definition at line 100 of file lapmessage_p.h.
quint16 LapMessagePrivate::zoneCount |
The LapMessage FIT message's zoneCount field.
zone number used as the index
Definition at line 381 of file lapmessage_p.h.