The TrainingFileMessage class represents a FIT TrainingFileMessage 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 TrainingFileMessage class represents a FIT TrainingFileMessage data message.
- See also
- DataMessage
◆ TrainingFileMessage()
TrainingFileMessage::TrainingFileMessage |
( |
| ) |
|
Constructs a TrainingFileMessage 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.
◆ manufacturer()
Returns the TrainingFileMessage data message's manufacturer
field's current value.
- Returns
- the
manufacturer
field value.
◆ product()
quint16 TrainingFileMessage::product |
( |
| ) |
const |
Returns the TrainingFileMessage data message's product
field's current value.
- Returns
- the
product
field value.
◆ serialNumber()
quint32z TrainingFileMessage::serialNumber |
( |
| ) |
const |
Returns the TrainingFileMessage data message's serialNumber
field's current value.
- Returns
- the
serialNumber
field value.
◆ setManufacturer()
void TrainingFileMessage::setManufacturer |
( |
const Manufacturer |
manufacturer | ) |
|
Sets the manufacturer
field to manufacturer.
- Parameters
-
manufacturer | The field value to set. |
◆ setProduct()
void TrainingFileMessage::setProduct |
( |
const quint16 |
product | ) |
|
Sets the product
field to product.
- Parameters
-
product | The field value to set. |
◆ setSerialNumber()
void TrainingFileMessage::setSerialNumber |
( |
const quint32z |
serialNumber | ) |
|
Sets the serialNumber
field to serialNumber.
- Parameters
-
serialNumber | The field value to set. |
◆ setTimeCreated()
void TrainingFileMessage::setTimeCreated |
( |
const DateTime |
timeCreated | ) |
|
Sets the timeCreated
field to timeCreated.
- Parameters
-
timeCreated | The field value to set. |
◆ setTimestamp()
void TrainingFileMessage::setTimestamp |
( |
const DateTime |
timestamp | ) |
|
Sets the timestamp
field to timestamp.
- Parameters
-
timestamp | The field value to set. |
◆ setType()
void TrainingFileMessage::setType |
( |
const File |
type | ) |
|
Sets the type
field to type.
- Parameters
-
type | The field value to set. |
◆ timeCreated()
DateTime TrainingFileMessage::timeCreated |
( |
| ) |
const |
Returns the TrainingFileMessage data message's timeCreated
field's current value.
- Returns
- the
timeCreated
field value.
◆ timestamp()
DateTime TrainingFileMessage::timestamp |
( |
| ) |
const |
Returns the TrainingFileMessage data message's timestamp
field's current value.
- Returns
- the
timestamp
field value.
◆ type()
File TrainingFileMessage::type |
( |
| ) |
const |
Returns the TrainingFileMessage data message's type
field's current value.
- Returns
- the
type
field value.
The documentation for this class was generated from the following files: