QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
GoalMessagePrivate (GoalMessage *const q) | |
virtual | ~GoalMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
MessageIndex | messageIndex |
The GoalMessage FIT message's messageIndex field. | |
Sport | sport |
The GoalMessage FIT message's sport field. | |
SubSport | subSport |
The GoalMessage FIT message's subSport field. | |
DateTime | startDate |
The GoalMessage FIT message's startDate field. | |
DateTime | endDate |
The GoalMessage FIT message's endDate field. | |
Goal | type |
The GoalMessage FIT message's type field. | |
quint32 | value |
The GoalMessage FIT message's value field. | |
bool | repeat |
The GoalMessage FIT message's repeat field. | |
quint32 | targetValue |
The GoalMessage FIT message's targetValue field. | |
GoalRecurrence | recurrence |
The GoalMessage FIT message's recurrence field. | |
quint16 | recurrenceValue |
The GoalMessage FIT message's recurrenceValue field. | |
bool | enabled |
The GoalMessage FIT message's enabled field. | |
GoalSource | source |
The GoalMessage FIT message's source 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 GoalMessagePrivate class provides private implementation for the GoalMessage.
Definition at line 38 of file goalmessage_p.h.
|
explicit |
Constructs a GoalMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 362 of file goalmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the GoalMessagePrivate object.
Definition at line 386 of file goalmessage.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 391 of file goalmessage.cpp.
References AbstractDataMessagePrivate::verify().