The WorkoutSessionMessage class represents a FIT WorkoutSessionMessage data message.
More...
|
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
|
|
The WorkoutSessionMessage class represents a FIT WorkoutSessionMessage data message.
- See also
- DataMessage
◆ WorkoutSessionMessage()
WorkoutSessionMessage::WorkoutSessionMessage |
( |
| ) |
|
◆ firstStepIndex()
quint16 WorkoutSessionMessage::firstStepIndex |
( |
| ) |
const |
Returns the WorkoutSessionMessage data message's firstStepIndex
field's current value.
- Returns
- the
firstStepIndex
field value.
◆ messageIndex()
Returns the WorkoutSessionMessage data message's messageIndex
field's current value.
- Returns
- the
messageIndex
field value.
◆ numValidSteps()
quint16 WorkoutSessionMessage::numValidSteps |
( |
| ) |
const |
Returns the WorkoutSessionMessage data message's numValidSteps
field's current value.
- Returns
- the
numValidSteps
field value.
◆ poolLength()
quint16 WorkoutSessionMessage::poolLength |
( |
| ) |
const |
Returns the WorkoutSessionMessage data message's poolLength
field's current value.
- Returns
- the
poolLength
field value.
◆ poolLengthUnit()
Returns the WorkoutSessionMessage data message's poolLengthUnit
field's current value.
- Returns
- the
poolLengthUnit
field value.
◆ setFirstStepIndex()
void WorkoutSessionMessage::setFirstStepIndex |
( |
const quint16 |
firstStepIndex | ) |
|
Sets the firstStepIndex
field to firstStepIndex.
- Parameters
-
firstStepIndex | The field value to set. |
◆ setMessageIndex()
void WorkoutSessionMessage::setMessageIndex |
( |
const MessageIndex |
messageIndex | ) |
|
Sets the messageIndex
field to messageIndex.
- Parameters
-
messageIndex | The field value to set. |
◆ setNumValidSteps()
void WorkoutSessionMessage::setNumValidSteps |
( |
const quint16 |
numValidSteps | ) |
|
Sets the numValidSteps
field to numValidSteps.
- Parameters
-
numValidSteps | The field value to set. |
◆ setPoolLength()
void WorkoutSessionMessage::setPoolLength |
( |
const quint16 |
poolLength | ) |
|
Sets the poolLength
field to poolLength.
- Parameters
-
poolLength | The field value to set. |
◆ setPoolLengthUnit()
void WorkoutSessionMessage::setPoolLengthUnit |
( |
const DisplayMeasure |
poolLengthUnit | ) |
|
Sets the poolLengthUnit
field to poolLengthUnit.
- Parameters
-
poolLengthUnit | The field value to set. |
◆ setSport()
void WorkoutSessionMessage::setSport |
( |
const Sport |
sport | ) |
|
Sets the sport
field to sport.
- Parameters
-
sport | The field value to set. |
◆ setSubSport()
void WorkoutSessionMessage::setSubSport |
( |
const SubSport |
subSport | ) |
|
Sets the subSport
field to subSport.
- Parameters
-
subSport | The field value to set. |
◆ sport()
Sport WorkoutSessionMessage::sport |
( |
| ) |
const |
Returns the WorkoutSessionMessage data message's sport
field's current value.
- Returns
- the
sport
field value.
◆ subSport()
SubSport WorkoutSessionMessage::subSport |
( |
| ) |
const |
Returns the WorkoutSessionMessage data message's subSport
field's current value.
- Returns
- the
subSport
field value.
The documentation for this class was generated from the following files: