QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
ActivityMessagePrivate (ActivityMessage *const q) | |
virtual | ~ActivityMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
DateTime | timestamp |
The ActivityMessage FIT message's timestamp field. | |
quint32 | totalTimerTime |
The ActivityMessage FIT message's totalTimerTime field. More... | |
quint16 | numSessions |
The ActivityMessage FIT message's numSessions field. | |
Activity | type |
The ActivityMessage FIT message's type field. | |
Event | event |
The ActivityMessage FIT message's event field. | |
EventType | eventType |
The ActivityMessage FIT message's eventType field. | |
LocalDateTime | localTimestamp |
The ActivityMessage FIT message's localTimestamp field. More... | |
quint8 | eventGroup |
The ActivityMessage FIT message's eventGroup 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 ActivityMessagePrivate class provides private implementation for the ActivityMessage.
Definition at line 38 of file activitymessage_p.h.
|
explicit |
Constructs a ActivityMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 261 of file activitymessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the ActivityMessagePrivate object.
Definition at line 280 of file activitymessage.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 285 of file activitymessage.cpp.
References AbstractDataMessagePrivate::verify().
LocalDateTime ActivityMessagePrivate::localTimestamp |
The ActivityMessage FIT message's localTimestamp field.
timestamp epoch expressed in local time, used to convert activity timestamps to local time
Definition at line 78 of file activitymessage_p.h.
quint32 ActivityMessagePrivate::totalTimerTime |
The ActivityMessage FIT message's totalTimerTime field.
Exclude pauses
Definition at line 51 of file activitymessage_p.h.