The SetMessage class represents a FIT SetMessage 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 SetMessage class represents a FIT SetMessage data message.
- See also
- DataMessage
◆ SetMessage()
SetMessage::SetMessage |
( |
| ) |
|
Constructs a SetMessage 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.
◆ category()
Returns the SetMessage data message's category
field's current value.
- Returns
- the
category
field value.
◆ categorySubtype()
quint16 SetMessage::categorySubtype |
( |
| ) |
const |
Returns the SetMessage data message's categorySubtype
field's current value.
Based on the associated category, see [category]_exercise_names
- Returns
- the
categorySubtype
field value.
◆ duration()
quint32 SetMessage::duration |
( |
| ) |
const |
Returns the SetMessage data message's duration
field's current value.
- Returns
- the
duration
field value.
◆ messageIndex()
Returns the SetMessage data message's messageIndex
field's current value.
- Returns
- the
messageIndex
field value.
◆ repetitions()
quint16 SetMessage::repetitions |
( |
| ) |
const |
Returns the SetMessage data message's repetitions
field's current value.
of repitions of the movement
- Returns
- the
repetitions
field value.
◆ setCategory()
Sets the category
field to category.
- Parameters
-
category | The field value to set. |
◆ setCategorySubtype()
void SetMessage::setCategorySubtype |
( |
const quint16 |
categorySubtype | ) |
|
Sets the categorySubtype
field to categorySubtype.
- Parameters
-
categorySubtype | The field value to set. |
◆ setDuration()
void SetMessage::setDuration |
( |
const quint32 |
duration | ) |
|
Sets the duration
field to duration.
- Parameters
-
duration | The field value to set. |
◆ setMessageIndex()
void SetMessage::setMessageIndex |
( |
const MessageIndex |
messageIndex | ) |
|
Sets the messageIndex
field to messageIndex.
- Parameters
-
messageIndex | The field value to set. |
◆ setRepetitions()
void SetMessage::setRepetitions |
( |
const quint16 |
repetitions | ) |
|
Sets the repetitions
field to repetitions.
- Parameters
-
repetitions | The field value to set. |
◆ setSetType()
void SetMessage::setSetType |
( |
const SetType |
setType | ) |
|
Sets the setType
field to setType.
- Parameters
-
setType | The field value to set. |
◆ setStartTime()
void SetMessage::setStartTime |
( |
const DateTime |
startTime | ) |
|
Sets the startTime
field to startTime.
- Parameters
-
startTime | The field value to set. |
◆ setTimestamp()
void SetMessage::setTimestamp |
( |
const DateTime |
timestamp | ) |
|
Sets the timestamp
field to timestamp.
- Parameters
-
timestamp | The field value to set. |
◆ setType()
SetType SetMessage::setType |
( |
| ) |
const |
Returns the SetMessage data message's setType
field's current value.
- Returns
- the
setType
field value.
◆ setWeight()
void SetMessage::setWeight |
( |
const quint16 |
weight | ) |
|
Sets the weight
field to weight.
- Parameters
-
weight | The field value to set. |
◆ setWeightDisplayUnit()
void SetMessage::setWeightDisplayUnit |
( |
const FitBaseUnit |
weightDisplayUnit | ) |
|
Sets the weightDisplayUnit
field to weightDisplayUnit.
- Parameters
-
weightDisplayUnit | The field value to set. |
◆ setWktStepIndex()
void SetMessage::setWktStepIndex |
( |
const MessageIndex |
wktStepIndex | ) |
|
Sets the wktStepIndex
field to wktStepIndex.
- Parameters
-
wktStepIndex | The field value to set. |
◆ startTime()
DateTime SetMessage::startTime |
( |
| ) |
const |
Returns the SetMessage data message's startTime
field's current value.
Start time of the set
- Returns
- the
startTime
field value.
◆ timestamp()
DateTime SetMessage::timestamp |
( |
| ) |
const |
Returns the SetMessage data message's timestamp
field's current value.
Timestamp of the set
- Returns
- the
timestamp
field value.
◆ weight()
quint16 SetMessage::weight |
( |
| ) |
const |
Returns the SetMessage data message's weight
field's current value.
Amount of weight applied for the set
- Returns
- the
weight
field value.
◆ weightDisplayUnit()
Returns the SetMessage data message's weightDisplayUnit
field's current value.
- Returns
- the
weightDisplayUnit
field value.
◆ wktStepIndex()
Returns the SetMessage data message's wktStepIndex
field's current value.
- Returns
- the
wktStepIndex
field value.
The documentation for this class was generated from the following files: