QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
MonitoringInfoMessagePrivate (MonitoringInfoMessage *const q) | |
virtual | ~MonitoringInfoMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
DateTime | timestamp |
The MonitoringInfoMessage FIT message's timestamp field. | |
LocalDateTime | localTimestamp |
The MonitoringInfoMessage FIT message's localTimestamp field. More... | |
ActivityType | activityType |
The MonitoringInfoMessage FIT message's activityType field. | |
quint16 | cyclesToDistance |
The MonitoringInfoMessage FIT message's cyclesToDistance field. More... | |
quint16 | cyclesToCalories |
The MonitoringInfoMessage FIT message's cyclesToCalories field. More... | |
quint16 | restingMetabolicRate |
The MonitoringInfoMessage FIT message's restingMetabolicRate 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 MonitoringInfoMessagePrivate class provides private implementation for the MonitoringInfoMessage.
Definition at line 38 of file monitoringinfomessage_p.h.
|
explicit |
Constructs a MonitoringInfoMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 222 of file monitoringinfomessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the MonitoringInfoMessagePrivate object.
Definition at line 239 of file monitoringinfomessage.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 244 of file monitoringinfomessage.cpp.
References AbstractDataMessagePrivate::verify().
quint16 MonitoringInfoMessagePrivate::cyclesToCalories |
The MonitoringInfoMessage FIT message's cyclesToCalories field.
Indexed by activity_type
Definition at line 71 of file monitoringinfomessage_p.h.
quint16 MonitoringInfoMessagePrivate::cyclesToDistance |
The MonitoringInfoMessage FIT message's cyclesToDistance field.
Indexed by activity_type
Definition at line 64 of file monitoringinfomessage_p.h.
LocalDateTime MonitoringInfoMessagePrivate::localTimestamp |
The MonitoringInfoMessage FIT message's localTimestamp field.
Use to convert activity timestamps to local time if device does not support time zone and daylight savings time correction.
Definition at line 52 of file monitoringinfomessage_p.h.