QtFit
0.1
Native Qt library for Garmin FIT format
|
The WorkoutStepMessage class represents a FIT WorkoutStepMessage data message. More...
Public Member Functions | |
WorkoutStepMessage () | |
Constructs a WorkoutStepMessage object. More... | |
MessageIndex | messageIndex () const |
Returns the WorkoutStepMessage data message's messageIndex field's current value. More... | |
QString | wktStepName () const |
Returns the WorkoutStepMessage data message's wktStepName field's current value. More... | |
WktStepDuration | durationType () const |
Returns the WorkoutStepMessage data message's durationType field's current value. More... | |
quint32 | durationValue () const |
Returns the WorkoutStepMessage data message's durationValue field's current value. More... | |
WktStepTarget | targetType () const |
Returns the WorkoutStepMessage data message's targetType field's current value. More... | |
quint32 | targetValue () const |
Returns the WorkoutStepMessage data message's targetValue field's current value. More... | |
quint32 | customTargetValueLow () const |
Returns the WorkoutStepMessage data message's customTargetValueLow field's current value. More... | |
quint32 | customTargetValueHigh () const |
Returns the WorkoutStepMessage data message's customTargetValueHigh field's current value. More... | |
Intensity | intensity () const |
Returns the WorkoutStepMessage data message's intensity field's current value. More... | |
QString | notes () const |
Returns the WorkoutStepMessage data message's notes field's current value. More... | |
WorkoutEquipment | equipment () const |
Returns the WorkoutStepMessage data message's equipment field's current value. More... | |
ExerciseCategory | exerciseCategory () const |
Returns the WorkoutStepMessage data message's exerciseCategory field's current value. More... | |
quint16 | exerciseName () const |
Returns the WorkoutStepMessage data message's exerciseName field's current value. More... | |
quint16 | exerciseWeight () const |
Returns the WorkoutStepMessage data message's exerciseWeight field's current value. More... | |
FitBaseUnit | weightDisplayUnit () const |
Returns the WorkoutStepMessage data message's weightDisplayUnit field's current value. More... | |
void | setMessageIndex (const MessageIndex messageIndex) |
Sets the messageIndex field to messageIndex. More... | |
void | setWktStepName (const QString wktStepName) |
Sets the wktStepName field to wktStepName. More... | |
void | setDurationType (const WktStepDuration durationType) |
Sets the durationType field to durationType. More... | |
void | setDurationValue (const quint32 durationValue) |
Sets the durationValue field to durationValue. More... | |
void | setTargetType (const WktStepTarget targetType) |
Sets the targetType field to targetType. More... | |
void | setTargetValue (const quint32 targetValue) |
Sets the targetValue field to targetValue. More... | |
void | setCustomTargetValueLow (const quint32 customTargetValueLow) |
Sets the customTargetValueLow field to customTargetValueLow. More... | |
void | setCustomTargetValueHigh (const quint32 customTargetValueHigh) |
Sets the customTargetValueHigh field to customTargetValueHigh. More... | |
void | setIntensity (const Intensity intensity) |
Sets the intensity field to intensity. More... | |
void | setNotes (const QString notes) |
Sets the notes field to notes. More... | |
void | setEquipment (const WorkoutEquipment equipment) |
Sets the equipment field to equipment. More... | |
void | setExerciseCategory (const ExerciseCategory exerciseCategory) |
Sets the exerciseCategory field to exerciseCategory. More... | |
void | setExerciseName (const quint16 exerciseName) |
Sets the exerciseName field to exerciseName. More... | |
void | setExerciseWeight (const quint16 exerciseWeight) |
Sets the exerciseWeight field to exerciseWeight. More... | |
void | setWeightDisplayUnit (const FitBaseUnit weightDisplayUnit) |
Sets the weightDisplayUnit field to weightDisplayUnit. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Additional Inherited Members | |
![]() | |
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
The WorkoutStepMessage class represents a FIT WorkoutStepMessage data message.
WorkoutStepMessage::WorkoutStepMessage | ( | ) |
Constructs a WorkoutStepMessage object.
Typically, instances of this class will be returned by FitStreamReader::readNext, but this constructor may be used, along with the relevant setter methods, to create a valid message.
quint32 WorkoutStepMessage::customTargetValueHigh | ( | ) | const |
Returns the WorkoutStepMessage data message's customTargetValueHigh
field's current value.
customTargetValueHigh
field value. quint32 WorkoutStepMessage::customTargetValueLow | ( | ) | const |
Returns the WorkoutStepMessage data message's customTargetValueLow
field's current value.
customTargetValueLow
field value. WktStepDuration WorkoutStepMessage::durationType | ( | ) | const |
Returns the WorkoutStepMessage data message's durationType
field's current value.
durationType
field value. quint32 WorkoutStepMessage::durationValue | ( | ) | const |
Returns the WorkoutStepMessage data message's durationValue
field's current value.
durationValue
field value. WorkoutEquipment WorkoutStepMessage::equipment | ( | ) | const |
Returns the WorkoutStepMessage data message's equipment
field's current value.
equipment
field value. ExerciseCategory WorkoutStepMessage::exerciseCategory | ( | ) | const |
Returns the WorkoutStepMessage data message's exerciseCategory
field's current value.
exerciseCategory
field value. quint16 WorkoutStepMessage::exerciseName | ( | ) | const |
Returns the WorkoutStepMessage data message's exerciseName
field's current value.
exerciseName
field value. quint16 WorkoutStepMessage::exerciseWeight | ( | ) | const |
Returns the WorkoutStepMessage data message's exerciseWeight
field's current value.
exerciseWeight
field value. Intensity WorkoutStepMessage::intensity | ( | ) | const |
Returns the WorkoutStepMessage data message's intensity
field's current value.
intensity
field value. MessageIndex WorkoutStepMessage::messageIndex | ( | ) | const |
Returns the WorkoutStepMessage data message's messageIndex
field's current value.
messageIndex
field value. QString WorkoutStepMessage::notes | ( | ) | const |
Returns the WorkoutStepMessage data message's notes
field's current value.
notes
field value. void WorkoutStepMessage::setCustomTargetValueHigh | ( | const quint32 | customTargetValueHigh | ) |
Sets the customTargetValueHigh
field to customTargetValueHigh.
customTargetValueHigh | The field value to set. |
void WorkoutStepMessage::setCustomTargetValueLow | ( | const quint32 | customTargetValueLow | ) |
Sets the customTargetValueLow
field to customTargetValueLow.
customTargetValueLow | The field value to set. |
void WorkoutStepMessage::setDurationType | ( | const WktStepDuration | durationType | ) |
Sets the durationType
field to durationType.
durationType | The field value to set. |
void WorkoutStepMessage::setDurationValue | ( | const quint32 | durationValue | ) |
Sets the durationValue
field to durationValue.
durationValue | The field value to set. |
void WorkoutStepMessage::setEquipment | ( | const WorkoutEquipment | equipment | ) |
Sets the equipment
field to equipment.
equipment | The field value to set. |
void WorkoutStepMessage::setExerciseCategory | ( | const ExerciseCategory | exerciseCategory | ) |
Sets the exerciseCategory
field to exerciseCategory.
exerciseCategory | The field value to set. |
void WorkoutStepMessage::setExerciseName | ( | const quint16 | exerciseName | ) |
Sets the exerciseName
field to exerciseName.
exerciseName | The field value to set. |
void WorkoutStepMessage::setExerciseWeight | ( | const quint16 | exerciseWeight | ) |
Sets the exerciseWeight
field to exerciseWeight.
exerciseWeight | The field value to set. |
void WorkoutStepMessage::setIntensity | ( | const Intensity | intensity | ) |
Sets the intensity
field to intensity.
intensity | The field value to set. |
void WorkoutStepMessage::setMessageIndex | ( | const MessageIndex | messageIndex | ) |
Sets the messageIndex
field to messageIndex.
messageIndex | The field value to set. |
void WorkoutStepMessage::setNotes | ( | const QString | notes | ) |
Sets the notes
field to notes.
notes | The field value to set. |
void WorkoutStepMessage::setTargetType | ( | const WktStepTarget | targetType | ) |
Sets the targetType
field to targetType.
targetType | The field value to set. |
void WorkoutStepMessage::setTargetValue | ( | const quint32 | targetValue | ) |
Sets the targetValue
field to targetValue.
targetValue | The field value to set. |
void WorkoutStepMessage::setWeightDisplayUnit | ( | const FitBaseUnit | weightDisplayUnit | ) |
Sets the weightDisplayUnit
field to weightDisplayUnit.
weightDisplayUnit | The field value to set. |
void WorkoutStepMessage::setWktStepName | ( | const QString | wktStepName | ) |
Sets the wktStepName
field to wktStepName.
wktStepName | The field value to set. |
WktStepTarget WorkoutStepMessage::targetType | ( | ) | const |
Returns the WorkoutStepMessage data message's targetType
field's current value.
targetType
field value. quint32 WorkoutStepMessage::targetValue | ( | ) | const |
Returns the WorkoutStepMessage data message's targetValue
field's current value.
targetValue
field value. FitBaseUnit WorkoutStepMessage::weightDisplayUnit | ( | ) | const |
Returns the WorkoutStepMessage data message's weightDisplayUnit
field's current value.
weightDisplayUnit
field value. QString WorkoutStepMessage::wktStepName | ( | ) | const |
Returns the WorkoutStepMessage data message's wktStepName
field's current value.
wktStepName
field value.