QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
WorkoutStepMessagePrivate (WorkoutStepMessage *const q) | |
virtual | ~WorkoutStepMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
MessageIndex | messageIndex |
The WorkoutStepMessage FIT message's messageIndex field. | |
QString | wktStepName |
The WorkoutStepMessage FIT message's wktStepName field. | |
WktStepDuration | durationType |
The WorkoutStepMessage FIT message's durationType field. | |
quint32 | durationValue |
The WorkoutStepMessage FIT message's durationValue field. | |
WktStepTarget | targetType |
The WorkoutStepMessage FIT message's targetType field. | |
quint32 | targetValue |
The WorkoutStepMessage FIT message's targetValue field. | |
quint32 | customTargetValueLow |
The WorkoutStepMessage FIT message's customTargetValueLow field. | |
quint32 | customTargetValueHigh |
The WorkoutStepMessage FIT message's customTargetValueHigh field. | |
Intensity | intensity |
The WorkoutStepMessage FIT message's intensity field. | |
QString | notes |
The WorkoutStepMessage FIT message's notes field. | |
WorkoutEquipment | equipment |
The WorkoutStepMessage FIT message's equipment field. | |
ExerciseCategory | exerciseCategory |
The WorkoutStepMessage FIT message's exerciseCategory field. | |
quint16 | exerciseName |
The WorkoutStepMessage FIT message's exerciseName field. | |
quint16 | exerciseWeight |
The WorkoutStepMessage FIT message's exerciseWeight field. | |
FitBaseUnit | weightDisplayUnit |
The WorkoutStepMessage FIT message's weightDisplayUnit 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 WorkoutStepMessagePrivate class provides private implementation for the WorkoutStepMessage.
Definition at line 38 of file workoutstepmessage_p.h.
|
explicit |
Constructs a WorkoutStepMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 404 of file workoutstepmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the WorkoutStepMessagePrivate object.
Definition at line 428 of file workoutstepmessage.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 433 of file workoutstepmessage.cpp.
References AbstractDataMessagePrivate::verify().