88 return d->positionLat;
99 return d->positionLong;
176 return d->compressedSpeedDistance;
200 return d->resistance;
211 return d->timeFromCourse;
222 return d->cycleLength;
233 return d->temperature;
268 return d->totalCycles;
279 return d->compressedAccumulatedPower;
290 return d->accumulatedPower;
301 return d->leftRightBalance;
312 return d->gpsAccuracy;
323 return d->verticalSpeed;
345 return d->verticalOscillation;
356 return d->stanceTimePercent;
367 return d->stanceTime;
378 return d->activityType;
389 return d->leftTorqueEffectiveness;
400 return d->rightTorqueEffectiveness;
411 return d->leftPedalSmoothness;
422 return d->rightPedalSmoothness;
433 return d->combinedPedalSmoothness;
455 return d->strokeType;
490 return d->cadence256;
501 return d->fractionalCadence;
514 return d->totalHemoglobinConc;
527 return d->totalHemoglobinConcMin;
540 return d->totalHemoglobinConcMax;
553 return d->saturatedHemoglobinPercent;
566 return d->saturatedHemoglobinPercentMin;
579 return d->saturatedHemoglobinPercentMax;
590 return d->deviceIndex;
629 return d->leftPowerPhase;
642 return d->leftPowerPhasePeak;
655 return d->rightPowerPhase;
668 return d->rightPowerPhasePeak;
679 return d->enhancedSpeed;
690 return d->enhancedAltitude;
703 return d->batterySoc;
716 return d->motorPower;
727 return d->verticalRatio;
738 return d->stanceTimeBalance;
749 return d->stepLength;
762 return d->absolutePressure;
788 return d->nextStopDepth;
799 return d->nextStopTime;
810 return d->timeToSurface;
882 return d->ebikeTravelRange;
893 return d->ebikeBatteryLevel;
904 return d->ebikeAssistMode;
915 return d->ebikeAssistLevelPercent;
926 return d->coreTemperature;
1691 , timestamp(static_cast<
DateTime>(-1))
1692 , positionLat(0x7FFFFFFF)
1693 , positionLong(0x7FFFFFFF)
1697 , distance(0xFFFFFFFF)
1700 , compressedSpeedDistance(0xFF)
1703 , timeFromCourse(0x7FFFFFFF)
1708 , totalCycles(0xFFFFFFFF)
1709 , compressedAccumulatedPower(0xFFFF)
1710 , accumulatedPower(0xFFFFFFFF)
1713 , verticalSpeed(0x7FFF)
1715 , verticalOscillation(0xFFFF)
1716 , stanceTimePercent(0xFFFF)
1717 , stanceTime(0xFFFF)
1719 , leftTorqueEffectiveness(0xFF)
1720 , rightTorqueEffectiveness(0xFF)
1721 , leftPedalSmoothness(0xFF)
1722 , rightPedalSmoothness(0xFF)
1723 , combinedPedalSmoothness(0xFF)
1728 , cadence256(0xFFFF)
1729 , fractionalCadence(0xFF)
1730 , totalHemoglobinConc(0xFFFF)
1731 , totalHemoglobinConcMin(0xFFFF)
1732 , totalHemoglobinConcMax(0xFFFF)
1733 , saturatedHemoglobinPercent(0xFFFF)
1734 , saturatedHemoglobinPercentMin(0xFFFF)
1735 , saturatedHemoglobinPercentMax(0xFFFF)
1739 , leftPowerPhase(0xFF)
1740 , leftPowerPhasePeak(0xFF)
1741 , rightPowerPhase(0xFF)
1742 , rightPowerPhasePeak(0xFF)
1743 , enhancedSpeed(0xFFFFFFFF)
1744 , enhancedAltitude(0xFFFFFFFF)
1746 , motorPower(0xFFFF)
1747 , verticalRatio(0xFFFF)
1748 , stanceTimeBalance(0xFFFF)
1749 , stepLength(0xFFFF)
1750 , absolutePressure(0xFFFFFFFF)
1752 , nextStopDepth(0xFFFFFFFF)
1753 , nextStopTime(0xFFFFFFFF)
1754 , timeToSurface(0xFFFFFFFF)
1755 , ndlTime(0xFFFFFFFF)
1758 , grit(static_cast<float>(-1))
1759 , flow(static_cast<float>(-1))
1760 , ebikeTravelRange(0xFFFF)
1761 , ebikeBatteryLevel(0xFF)
1762 , ebikeAssistMode(0xFF)
1763 , ebikeAssistLevelPercent(0xFF)
1764 , coreTemperature(0xFFFF)
1780 const int fieldId,
const QByteArray &data,
const FitBaseType baseType,
const bool bigEndian)
1784 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.timestamp"))
return false;
1785 this->
timestamp =
static_cast<DateTime>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
1788 if (!
verify(data, baseType, 4, FitBaseType::Sint32,
"record.positionLat"))
return false;
1789 this->
positionLat =
static_cast<qint32
>(bigEndian ? qFromBigEndian< qint32>(data) : qFromLittleEndian< qint32>(data));
1792 if (!
verify(data, baseType, 4, FitBaseType::Sint32,
"record.positionLong"))
return false;
1793 this->
positionLong =
static_cast<qint32
>(bigEndian ? qFromBigEndian< qint32>(data) : qFromLittleEndian< qint32>(data));
1796 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.altitude"))
return false;
1797 this->
altitude =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1800 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.heartRate"))
return false;
1801 this->
heartRate =
static_cast<quint8
>(data.at(0));
1804 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.cadence"))
return false;
1805 this->
cadence =
static_cast<quint8
>(data.at(0));
1808 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.distance"))
return false;
1809 this->
distance =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
1812 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.speed"))
return false;
1813 this->
speed =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1816 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.power"))
return false;
1817 this->
power =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1820 if (!
verify(data, baseType, 1, FitBaseType::Byte,
"record.compressedSpeedDistance"))
return false;
1824 if (!
verify(data, baseType, 2, FitBaseType::Sint16,
"record.grade"))
return false;
1825 this->
grade =
static_cast<qint16
>(bigEndian ? qFromBigEndian< qint16>(data) : qFromLittleEndian< qint16>(data));
1828 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.resistance"))
return false;
1829 this->
resistance =
static_cast<quint8
>(data.at(0));
1832 if (!
verify(data, baseType, 4, FitBaseType::Sint32,
"record.timeFromCourse"))
return false;
1833 this->
timeFromCourse =
static_cast<qint32
>(bigEndian ? qFromBigEndian< qint32>(data) : qFromLittleEndian< qint32>(data));
1836 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.cycleLength"))
return false;
1837 this->
cycleLength =
static_cast<quint8
>(data.at(0));
1840 if (!
verify(data, baseType, 1, FitBaseType::Sint8,
"record.temperature"))
return false;
1841 this->
temperature =
static_cast<qint8
>(data.at(0));
1844 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.speed1s"))
return false;
1845 this->
speed1s =
static_cast<quint8
>(data.at(0));
1848 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.cycles"))
return false;
1849 this->
cycles =
static_cast<quint8
>(data.at(0));
1852 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.totalCycles"))
return false;
1853 this->
totalCycles =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
1856 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.compressedAccumulatedPower"))
return false;
1857 this->
compressedAccumulatedPower =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1860 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.accumulatedPower"))
return false;
1861 this->
accumulatedPower =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
1864 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.leftRightBalance"))
return false;
1868 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.gpsAccuracy"))
return false;
1869 this->
gpsAccuracy =
static_cast<quint8
>(data.at(0));
1872 if (!
verify(data, baseType, 2, FitBaseType::Sint16,
"record.verticalSpeed"))
return false;
1873 this->
verticalSpeed =
static_cast<qint16
>(bigEndian ? qFromBigEndian< qint16>(data) : qFromLittleEndian< qint16>(data));
1876 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.calories"))
return false;
1877 this->
calories =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1880 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.verticalOscillation"))
return false;
1881 this->
verticalOscillation =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1884 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.stanceTimePercent"))
return false;
1885 this->
stanceTimePercent =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1888 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.stanceTime"))
return false;
1889 this->
stanceTime =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1892 if (!
verify(data, baseType, 1, FitBaseType::Enum,
"record.activityType"))
return false;
1896 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.leftTorqueEffectiveness"))
return false;
1900 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.rightTorqueEffectiveness"))
return false;
1904 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.leftPedalSmoothness"))
return false;
1908 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.rightPedalSmoothness"))
return false;
1912 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.combinedPedalSmoothness"))
return false;
1916 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.time128"))
return false;
1917 this->
time128 =
static_cast<quint8
>(data.at(0));
1920 if (!
verify(data, baseType, 1, FitBaseType::Enum,
"record.strokeType"))
return false;
1924 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.zone"))
return false;
1925 this->
zone =
static_cast<quint8
>(data.at(0));
1928 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.ballSpeed"))
return false;
1929 this->
ballSpeed =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1932 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.cadence256"))
return false;
1933 this->
cadence256 =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1936 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.fractionalCadence"))
return false;
1940 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.totalHemoglobinConc"))
return false;
1941 this->
totalHemoglobinConc =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1944 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.totalHemoglobinConcMin"))
return false;
1945 this->
totalHemoglobinConcMin =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1948 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.totalHemoglobinConcMax"))
return false;
1949 this->
totalHemoglobinConcMax =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1952 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.saturatedHemoglobinPercent"))
return false;
1953 this->
saturatedHemoglobinPercent =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
1956 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.saturatedHemoglobinPercentMin"))
return false;
1960 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.saturatedHemoglobinPercentMax"))
return false;
1964 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.deviceIndex"))
return false;
1968 if (!
verify(data, baseType, 1, FitBaseType::Sint8,
"record.leftPco"))
return false;
1969 this->
leftPco =
static_cast<qint8
>(data.at(0));
1972 if (!
verify(data, baseType, 1, FitBaseType::Sint8,
"record.rightPco"))
return false;
1973 this->
rightPco =
static_cast<qint8
>(data.at(0));
1976 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.leftPowerPhase"))
return false;
1980 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.leftPowerPhasePeak"))
return false;
1984 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.rightPowerPhase"))
return false;
1988 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.rightPowerPhasePeak"))
return false;
1992 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.enhancedSpeed"))
return false;
1993 this->
enhancedSpeed =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
1996 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.enhancedAltitude"))
return false;
1997 this->
enhancedAltitude =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
2000 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.batterySoc"))
return false;
2001 this->
batterySoc =
static_cast<quint8
>(data.at(0));
2004 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.motorPower"))
return false;
2005 this->
motorPower =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
2008 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.verticalRatio"))
return false;
2009 this->
verticalRatio =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
2012 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.stanceTimeBalance"))
return false;
2013 this->
stanceTimeBalance =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
2016 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.stepLength"))
return false;
2017 this->
stepLength =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
2020 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.absolutePressure"))
return false;
2021 this->
absolutePressure =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
2024 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.depth"))
return false;
2025 this->
depth =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
2028 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.nextStopDepth"))
return false;
2029 this->
nextStopDepth =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
2032 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.nextStopTime"))
return false;
2033 this->
nextStopTime =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
2036 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.timeToSurface"))
return false;
2037 this->
timeToSurface =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
2040 if (!
verify(data, baseType, 4, FitBaseType::Uint32,
"record.ndlTime"))
return false;
2041 this->
ndlTime =
static_cast<quint32
>(bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data));
2044 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.cnsLoad"))
return false;
2045 this->
cnsLoad =
static_cast<quint8
>(data.at(0));
2048 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.n2Load"))
return false;
2049 this->
n2Load =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
2052 if (!
verify(data, baseType, 4, FitBaseType::Float32,
"record.grit"))
return false;
2053 #if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
2055 const quint32 localEndian = bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data);
2056 static_assert(
sizeof(localEndian) == 4,
"src not expected size");
2057 static_assert(
sizeof(this->
grit) == 4,
"src and dst not the same size");
2058 memcpy(&this->
grit, &localEndian, data.size());
2061 this->
grit =
static_cast<float>(bigEndian ? qFromBigEndian<float>(data) : qFromLittleEndian<float>(data));
2065 if (!
verify(data, baseType, 4, FitBaseType::Float32,
"record.flow"))
return false;
2066 #if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
2068 const quint32 localEndian = bigEndian ? qFromBigEndian<quint32>(data) : qFromLittleEndian<quint32>(data);
2069 static_assert(
sizeof(localEndian) == 4,
"src not expected size");
2070 static_assert(
sizeof(this->
flow) == 4,
"src and dst not the same size");
2071 memcpy(&this->
flow, &localEndian, data.size());
2074 this->
flow =
static_cast<float>(bigEndian ? qFromBigEndian<float>(data) : qFromLittleEndian<float>(data));
2078 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.ebikeTravelRange"))
return false;
2079 this->
ebikeTravelRange =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
2082 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.ebikeBatteryLevel"))
return false;
2086 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.ebikeAssistMode"))
return false;
2090 if (!
verify(data, baseType, 1, FitBaseType::Uint8,
"record.ebikeAssistLevelPercent"))
return false;
2094 if (!
verify(data, baseType, 2, FitBaseType::Uint16,
"record.coreTemperature"))
return false;
2095 this->
coreTemperature =
static_cast<quint16
>(bigEndian ? qFromBigEndian<quint16>(data) : qFromLittleEndian<quint16>(data));
2098 qWarning() <<
"ignoring unknown record message field number" << fieldId << bigEndian;
#define QTFIT_END_NAMESPACE
Macro for ending the QtFit library's top-most namespace (if one is defined).
#define QTFIT_BEGIN_NAMESPACE
Macro for starting the QtFit library's top-most namespace (if one is defined).
MesgNum globalMessageNumber
FIT Globla Message Number for this FIT Data Message.
bool verify(const QByteArray &data, const FitBaseType actualType, const int expectedSize, const FitBaseType expectedType, const char *messageFieldName)
The AbstractDataMessage class is the polymorphic base class for all FIT Data Message classes.
qint8 rightPco
The RecordMessage FIT message's rightPco field.
quint16 speed
The RecordMessage FIT message's speed field.
quint8 ebikeBatteryLevel
The RecordMessage FIT message's ebikeBatteryLevel field.
quint16 ebikeTravelRange
The RecordMessage FIT message's ebikeTravelRange field.
DateTime timestamp
The RecordMessage FIT message's timestamp field.
quint16 altitude
The RecordMessage FIT message's altitude field.
quint32 depth
The RecordMessage FIT message's depth field.
quint8 heartRate
The RecordMessage FIT message's heartRate field.
DeviceIndex deviceIndex
The RecordMessage FIT message's deviceIndex field.
quint8 fractionalCadence
The RecordMessage FIT message's fractionalCadence field.
quint32 distance
The RecordMessage FIT message's distance field.
quint32 totalCycles
The RecordMessage FIT message's totalCycles field.
quint8 zone
The RecordMessage FIT message's zone field.
quint16 compressedAccumulatedPower
The RecordMessage FIT message's compressedAccumulatedPower field.
quint8 rightTorqueEffectiveness
The RecordMessage FIT message's rightTorqueEffectiveness field.
quint8 rightPowerPhase
The RecordMessage FIT message's rightPowerPhase field.
quint16 stanceTime
The RecordMessage FIT message's stanceTime field.
virtual ~RecordMessagePrivate()
quint8 leftTorqueEffectiveness
The RecordMessage FIT message's leftTorqueEffectiveness field.
quint8 cycles
The RecordMessage FIT message's cycles field.
quint8 batterySoc
The RecordMessage FIT message's batterySoc field.
quint16 cadence256
The RecordMessage FIT message's cadence256 field.
quint16 coreTemperature
The RecordMessage FIT message's coreTemperature field.
quint32 accumulatedPower
The RecordMessage FIT message's accumulatedPower field.
qint8 leftPco
The RecordMessage FIT message's leftPco field.
quint8 rightPedalSmoothness
The RecordMessage FIT message's rightPedalSmoothness field.
quint16 totalHemoglobinConcMin
The RecordMessage FIT message's totalHemoglobinConcMin field.
quint16 stanceTimeBalance
The RecordMessage FIT message's stanceTimeBalance field.
qint32 timeFromCourse
The RecordMessage FIT message's timeFromCourse field.
quint32 enhancedAltitude
The RecordMessage FIT message's enhancedAltitude field.
quint16 ballSpeed
The RecordMessage FIT message's ballSpeed field.
qint16 verticalSpeed
The RecordMessage FIT message's verticalSpeed field.
quint16 stepLength
The RecordMessage FIT message's stepLength field.
qint32 positionLong
The RecordMessage FIT message's positionLong field.
quint8 combinedPedalSmoothness
The RecordMessage FIT message's combinedPedalSmoothness field.
float flow
The RecordMessage FIT message's flow field.
qint16 grade
The RecordMessage FIT message's grade field.
quint16 saturatedHemoglobinPercent
The RecordMessage FIT message's saturatedHemoglobinPercent field.
quint8 ebikeAssistMode
The RecordMessage FIT message's ebikeAssistMode field.
quint8 time128
The RecordMessage FIT message's time128 field.
StrokeType strokeType
The RecordMessage FIT message's strokeType field.
quint8 compressedSpeedDistance
The RecordMessage FIT message's compressedSpeedDistance field.
quint8 rightPowerPhasePeak
The RecordMessage FIT message's rightPowerPhasePeak field.
quint32 ndlTime
The RecordMessage FIT message's ndlTime field.
quint32 nextStopTime
The RecordMessage FIT message's nextStopTime field.
quint32 absolutePressure
The RecordMessage FIT message's absolutePressure field.
quint16 n2Load
The RecordMessage FIT message's n2Load field.
quint16 calories
The RecordMessage FIT message's calories field.
quint8 gpsAccuracy
The RecordMessage FIT message's gpsAccuracy field.
quint32 timeToSurface
The RecordMessage FIT message's timeToSurface field.
quint8 resistance
The RecordMessage FIT message's resistance field.
quint8 leftPowerPhase
The RecordMessage FIT message's leftPowerPhase field.
quint16 totalHemoglobinConc
The RecordMessage FIT message's totalHemoglobinConc field.
quint32 nextStopDepth
The RecordMessage FIT message's nextStopDepth field.
quint16 saturatedHemoglobinPercentMax
The RecordMessage FIT message's saturatedHemoglobinPercentMax field.
qint32 positionLat
The RecordMessage FIT message's positionLat field.
quint8 cadence
The RecordMessage FIT message's cadence field.
bool setField(const int fieldId, const QByteArray &data, const FitBaseType baseType, const bool bigEndian) override
quint8 speed1s
The RecordMessage FIT message's speed1s field.
qint8 temperature
The RecordMessage FIT message's temperature field.
quint16 verticalOscillation
The RecordMessage FIT message's verticalOscillation field.
quint16 verticalRatio
The RecordMessage FIT message's verticalRatio field.
quint8 ebikeAssistLevelPercent
The RecordMessage FIT message's ebikeAssistLevelPercent field.
quint16 totalHemoglobinConcMax
The RecordMessage FIT message's totalHemoglobinConcMax field.
ActivityType activityType
The RecordMessage FIT message's activityType field.
quint16 power
The RecordMessage FIT message's power field.
quint8 cnsLoad
The RecordMessage FIT message's cnsLoad field.
quint8 leftPowerPhasePeak
The RecordMessage FIT message's leftPowerPhasePeak field.
quint8 cycleLength
The RecordMessage FIT message's cycleLength field.
quint16 saturatedHemoglobinPercentMin
The RecordMessage FIT message's saturatedHemoglobinPercentMin field.
quint32 enhancedSpeed
The RecordMessage FIT message's enhancedSpeed field.
quint16 stanceTimePercent
The RecordMessage FIT message's stanceTimePercent field.
quint8 leftPedalSmoothness
The RecordMessage FIT message's leftPedalSmoothness field.
quint16 motorPower
The RecordMessage FIT message's motorPower field.
float grit
The RecordMessage FIT message's grit field.
LeftRightBalance leftRightBalance
The RecordMessage FIT message's leftRightBalance field.
The RecordMessage class represents a FIT RecordMessage data message.
quint16 speed() const
Returns the RecordMessage data message's speed field's current value.
qint16 grade() const
Returns the RecordMessage data message's grade field's current value.
qint32 timeFromCourse() const
Returns the RecordMessage data message's timeFromCourse field's current value.
quint32 ndlTime() const
Returns the RecordMessage data message's ndlTime field's current value.
void setNextStopTime(const quint32 nextStopTime)
Sets the nextStopTime field to nextStopTime.
void setNdlTime(const quint32 ndlTime)
Sets the ndlTime field to ndlTime.
quint16 cadence256() const
Returns the RecordMessage data message's cadence256 field's current value.
void setGrade(const qint16 grade)
Sets the grade field to grade.
void setRightPowerPhase(const quint8 rightPowerPhase)
Sets the rightPowerPhase field to rightPowerPhase.
quint16 compressedAccumulatedPower() const
Returns the RecordMessage data message's compressedAccumulatedPower field's current value.
void setEbikeAssistMode(const quint8 ebikeAssistMode)
Sets the ebikeAssistMode field to ebikeAssistMode.
ActivityType activityType() const
Returns the RecordMessage data message's activityType field's current value.
quint32 totalCycles() const
Returns the RecordMessage data message's totalCycles field's current value.
quint8 ebikeAssistMode() const
Returns the RecordMessage data message's ebikeAssistMode field's current value.
void setTimestamp(const DateTime timestamp)
Sets the timestamp field to timestamp.
quint32 timeToSurface() const
Returns the RecordMessage data message's timeToSurface field's current value.
RecordMessage()
Constructs a RecordMessage object.
quint8 rightPedalSmoothness() const
Returns the RecordMessage data message's rightPedalSmoothness field's current value.
void setCycleLength(const quint8 cycleLength)
Sets the cycleLength field to cycleLength.
quint16 stepLength() const
Returns the RecordMessage data message's stepLength field's current value.
void setStanceTime(const quint16 stanceTime)
Sets the stanceTime field to stanceTime.
void setRightPedalSmoothness(const quint8 rightPedalSmoothness)
Sets the rightPedalSmoothness field to rightPedalSmoothness.
void setCompressedAccumulatedPower(const quint16 compressedAccumulatedPower)
Sets the compressedAccumulatedPower field to compressedAccumulatedPower.
void setN2Load(const quint16 n2Load)
Sets the n2Load field to n2Load.
quint16 coreTemperature() const
Returns the RecordMessage data message's coreTemperature field's current value.
quint32 accumulatedPower() const
Returns the RecordMessage data message's accumulatedPower field's current value.
qint32 positionLat() const
Returns the RecordMessage data message's positionLat field's current value.
quint8 cnsLoad() const
Returns the RecordMessage data message's cnsLoad field's current value.
void setVerticalOscillation(const quint16 verticalOscillation)
Sets the verticalOscillation field to verticalOscillation.
void setLeftPedalSmoothness(const quint8 leftPedalSmoothness)
Sets the leftPedalSmoothness field to leftPedalSmoothness.
quint8 ebikeAssistLevelPercent() const
Returns the RecordMessage data message's ebikeAssistLevelPercent field's current value.
quint16 ballSpeed() const
Returns the RecordMessage data message's ballSpeed field's current value.
quint16 totalHemoglobinConcMin() const
Returns the RecordMessage data message's totalHemoglobinConcMin field's current value.
quint8 batterySoc() const
Returns the RecordMessage data message's batterySoc field's current value.
qint16 verticalSpeed() const
Returns the RecordMessage data message's verticalSpeed field's current value.
quint32 nextStopDepth() const
Returns the RecordMessage data message's nextStopDepth field's current value.
quint32 absolutePressure() const
Returns the RecordMessage data message's absolutePressure field's current value.
DeviceIndex deviceIndex() const
Returns the RecordMessage data message's deviceIndex field's current value.
void setTimeFromCourse(const qint32 timeFromCourse)
Sets the timeFromCourse field to timeFromCourse.
void setCnsLoad(const quint8 cnsLoad)
Sets the cnsLoad field to cnsLoad.
LeftRightBalance leftRightBalance() const
Returns the RecordMessage data message's leftRightBalance field's current value.
void setEnhancedAltitude(const quint32 enhancedAltitude)
Sets the enhancedAltitude field to enhancedAltitude.
void setBallSpeed(const quint16 ballSpeed)
Sets the ballSpeed field to ballSpeed.
void setCadence256(const quint16 cadence256)
Sets the cadence256 field to cadence256.
void setTotalHemoglobinConcMax(const quint16 totalHemoglobinConcMax)
Sets the totalHemoglobinConcMax field to totalHemoglobinConcMax.
quint8 cadence() const
Returns the RecordMessage data message's cadence field's current value.
void setSaturatedHemoglobinPercent(const quint16 saturatedHemoglobinPercent)
Sets the saturatedHemoglobinPercent field to saturatedHemoglobinPercent.
quint16 power() const
Returns the RecordMessage data message's power field's current value.
void setStrokeType(const StrokeType strokeType)
Sets the strokeType field to strokeType.
void setEbikeAssistLevelPercent(const quint8 ebikeAssistLevelPercent)
Sets the ebikeAssistLevelPercent field to ebikeAssistLevelPercent.
quint8 fractionalCadence() const
Returns the RecordMessage data message's fractionalCadence field's current value.
void setRightPowerPhasePeak(const quint8 rightPowerPhasePeak)
Sets the rightPowerPhasePeak field to rightPowerPhasePeak.
void setCalories(const quint16 calories)
Sets the calories field to calories.
void setPositionLat(const qint32 positionLat)
Sets the positionLat field to positionLat.
quint16 stanceTimeBalance() const
Returns the RecordMessage data message's stanceTimeBalance field's current value.
quint8 cycleLength() const
Returns the RecordMessage data message's cycleLength field's current value.
quint16 verticalRatio() const
Returns the RecordMessage data message's verticalRatio field's current value.
void setSaturatedHemoglobinPercentMax(const quint16 saturatedHemoglobinPercentMax)
Sets the saturatedHemoglobinPercentMax field to saturatedHemoglobinPercentMax.
quint16 ebikeTravelRange() const
Returns the RecordMessage data message's ebikeTravelRange field's current value.
quint8 heartRate() const
Returns the RecordMessage data message's heartRate field's current value.
quint8 speed1s() const
Returns the RecordMessage data message's speed1s field's current value.
void setTemperature(const qint8 temperature)
Sets the temperature field to temperature.
void setTotalHemoglobinConc(const quint16 totalHemoglobinConc)
Sets the totalHemoglobinConc field to totalHemoglobinConc.
void setGpsAccuracy(const quint8 gpsAccuracy)
Sets the gpsAccuracy field to gpsAccuracy.
void setLeftPowerPhasePeak(const quint8 leftPowerPhasePeak)
Sets the leftPowerPhasePeak field to leftPowerPhasePeak.
void setAccumulatedPower(const quint32 accumulatedPower)
Sets the accumulatedPower field to accumulatedPower.
quint8 leftTorqueEffectiveness() const
Returns the RecordMessage data message's leftTorqueEffectiveness field's current value.
void setBatterySoc(const quint8 batterySoc)
Sets the batterySoc field to batterySoc.
quint16 stanceTimePercent() const
Returns the RecordMessage data message's stanceTimePercent field's current value.
qint32 positionLong() const
Returns the RecordMessage data message's positionLong field's current value.
quint16 motorPower() const
Returns the RecordMessage data message's motorPower field's current value.
void setGrit(const float grit)
Sets the grit field to grit.
void setMotorPower(const quint16 motorPower)
Sets the motorPower field to motorPower.
quint8 rightPowerPhasePeak() const
Returns the RecordMessage data message's rightPowerPhasePeak field's current value.
void setSaturatedHemoglobinPercentMin(const quint16 saturatedHemoglobinPercentMin)
Sets the saturatedHemoglobinPercentMin field to saturatedHemoglobinPercentMin.
void setHeartRate(const quint8 heartRate)
Sets the heartRate field to heartRate.
void setFlow(const float flow)
Sets the flow field to flow.
quint8 rightTorqueEffectiveness() const
Returns the RecordMessage data message's rightTorqueEffectiveness field's current value.
void setActivityType(const ActivityType activityType)
Sets the activityType field to activityType.
quint16 n2Load() const
Returns the RecordMessage data message's n2Load field's current value.
qint8 temperature() const
Returns the RecordMessage data message's temperature field's current value.
void setLeftRightBalance(const LeftRightBalance leftRightBalance)
Sets the leftRightBalance field to leftRightBalance.
void setNextStopDepth(const quint32 nextStopDepth)
Sets the nextStopDepth field to nextStopDepth.
float grit() const
Returns the RecordMessage data message's grit field's current value.
quint8 gpsAccuracy() const
Returns the RecordMessage data message's gpsAccuracy field's current value.
void setEbikeTravelRange(const quint16 ebikeTravelRange)
Sets the ebikeTravelRange field to ebikeTravelRange.
void setCompressedSpeedDistance(const quint8 compressedSpeedDistance)
Sets the compressedSpeedDistance field to compressedSpeedDistance.
void setTimeToSurface(const quint32 timeToSurface)
Sets the timeToSurface field to timeToSurface.
quint8 compressedSpeedDistance() const
Returns the RecordMessage data message's compressedSpeedDistance field's current value.
quint16 totalHemoglobinConc() const
Returns the RecordMessage data message's totalHemoglobinConc field's current value.
quint16 altitude() const
Returns the RecordMessage data message's altitude field's current value.
quint8 leftPowerPhasePeak() const
Returns the RecordMessage data message's leftPowerPhasePeak field's current value.
quint32 distance() const
Returns the RecordMessage data message's distance field's current value.
void setZone(const quint8 zone)
Sets the zone field to zone.
quint8 leftPowerPhase() const
Returns the RecordMessage data message's leftPowerPhase field's current value.
float flow() const
Returns the RecordMessage data message's flow field's current value.
void setPositionLong(const qint32 positionLong)
Sets the positionLong field to positionLong.
quint16 saturatedHemoglobinPercentMin() const
Returns the RecordMessage data message's saturatedHemoglobinPercentMin field's current value.
void setStanceTimeBalance(const quint16 stanceTimeBalance)
Sets the stanceTimeBalance field to stanceTimeBalance.
quint8 ebikeBatteryLevel() const
Returns the RecordMessage data message's ebikeBatteryLevel field's current value.
quint8 time128() const
Returns the RecordMessage data message's time128 field's current value.
void setEnhancedSpeed(const quint32 enhancedSpeed)
Sets the enhancedSpeed field to enhancedSpeed.
void setPower(const quint16 power)
Sets the power field to power.
void setEbikeBatteryLevel(const quint8 ebikeBatteryLevel)
Sets the ebikeBatteryLevel field to ebikeBatteryLevel.
void setSpeed(const quint16 speed)
Sets the speed field to speed.
void setCadence(const quint8 cadence)
Sets the cadence field to cadence.
void setDepth(const quint32 depth)
Sets the depth field to depth.
void setStepLength(const quint16 stepLength)
Sets the stepLength field to stepLength.
void setTotalCycles(const quint32 totalCycles)
Sets the totalCycles field to totalCycles.
void setVerticalSpeed(const qint16 verticalSpeed)
Sets the verticalSpeed field to verticalSpeed.
StrokeType strokeType() const
Returns the RecordMessage data message's strokeType field's current value.
DateTime timestamp() const
Returns the RecordMessage data message's timestamp field's current value.
quint16 totalHemoglobinConcMax() const
Returns the RecordMessage data message's totalHemoglobinConcMax field's current value.
void setLeftPco(const qint8 leftPco)
Sets the leftPco field to leftPco.
quint32 depth() const
Returns the RecordMessage data message's depth field's current value.
qint8 rightPco() const
Returns the RecordMessage data message's rightPco field's current value.
void setAltitude(const quint16 altitude)
Sets the altitude field to altitude.
quint8 cycles() const
Returns the RecordMessage data message's cycles field's current value.
void setStanceTimePercent(const quint16 stanceTimePercent)
Sets the stanceTimePercent field to stanceTimePercent.
void setCombinedPedalSmoothness(const quint8 combinedPedalSmoothness)
Sets the combinedPedalSmoothness field to combinedPedalSmoothness.
void setRightTorqueEffectiveness(const quint8 rightTorqueEffectiveness)
Sets the rightTorqueEffectiveness field to rightTorqueEffectiveness.
quint32 nextStopTime() const
Returns the RecordMessage data message's nextStopTime field's current value.
quint8 zone() const
Returns the RecordMessage data message's zone field's current value.
quint16 calories() const
Returns the RecordMessage data message's calories field's current value.
void setLeftTorqueEffectiveness(const quint8 leftTorqueEffectiveness)
Sets the leftTorqueEffectiveness field to leftTorqueEffectiveness.
void setDistance(const quint32 distance)
Sets the distance field to distance.
void setLeftPowerPhase(const quint8 leftPowerPhase)
Sets the leftPowerPhase field to leftPowerPhase.
void setVerticalRatio(const quint16 verticalRatio)
Sets the verticalRatio field to verticalRatio.
quint16 saturatedHemoglobinPercent() const
Returns the RecordMessage data message's saturatedHemoglobinPercent field's current value.
void setSpeed1s(const quint8 speed1s)
Sets the speed1s field to speed1s.
void setTotalHemoglobinConcMin(const quint16 totalHemoglobinConcMin)
Sets the totalHemoglobinConcMin field to totalHemoglobinConcMin.
quint16 stanceTime() const
Returns the RecordMessage data message's stanceTime field's current value.
void setFractionalCadence(const quint8 fractionalCadence)
Sets the fractionalCadence field to fractionalCadence.
quint32 enhancedSpeed() const
Returns the RecordMessage data message's enhancedSpeed field's current value.
void setCoreTemperature(const quint16 coreTemperature)
Sets the coreTemperature field to coreTemperature.
void setAbsolutePressure(const quint32 absolutePressure)
Sets the absolutePressure field to absolutePressure.
void setRightPco(const qint8 rightPco)
Sets the rightPco field to rightPco.
quint8 rightPowerPhase() const
Returns the RecordMessage data message's rightPowerPhase field's current value.
void setTime128(const quint8 time128)
Sets the time128 field to time128.
void setDeviceIndex(const DeviceIndex deviceIndex)
Sets the deviceIndex field to deviceIndex.
quint8 leftPedalSmoothness() const
Returns the RecordMessage data message's leftPedalSmoothness field's current value.
void setResistance(const quint8 resistance)
Sets the resistance field to resistance.
void setCycles(const quint8 cycles)
Sets the cycles field to cycles.
quint16 saturatedHemoglobinPercentMax() const
Returns the RecordMessage data message's saturatedHemoglobinPercentMax field's current value.
quint8 combinedPedalSmoothness() const
Returns the RecordMessage data message's combinedPedalSmoothness field's current value.
quint16 verticalOscillation() const
Returns the RecordMessage data message's verticalOscillation field's current value.
qint8 leftPco() const
Returns the RecordMessage data message's leftPco field's current value.
quint8 resistance() const
Returns the RecordMessage data message's resistance field's current value.
quint32 enhancedAltitude() const
Returns the RecordMessage data message's enhancedAltitude field's current value.
Declares the RecordMessage class.
Declares the RecordMessagePrivate class.
LeftRightBalance
Garmin FIT LeftRightBalance type.
ActivityType
Garmin FIT ActivityType type.
DeviceIndex
Garmin FIT DeviceIndex type.
FitBaseType
Garmin FIT FitBaseType type.
StrokeType
Garmin FIT StrokeType type.
DateTime
Seconds since UTC 00:00 Dec 31 1989.