|
QtFit
0.1
Internal library development documentation
|
The TrainingFileMessage class represents a FIT TrainingFileMessage data message. More...
Public Member Functions | |
| TrainingFileMessage () | |
| Constructs a TrainingFileMessage object. More... | |
| DateTime | timestamp () const |
Returns the TrainingFileMessage data message's timestamp field's current value. More... | |
| File | type () const |
Returns the TrainingFileMessage data message's type field's current value. More... | |
| Manufacturer | manufacturer () const |
Returns the TrainingFileMessage data message's manufacturer field's current value. More... | |
| quint16 | product () const |
Returns the TrainingFileMessage data message's product field's current value. More... | |
| quint32z | serialNumber () const |
Returns the TrainingFileMessage data message's serialNumber field's current value. More... | |
| DateTime | timeCreated () const |
Returns the TrainingFileMessage data message's timeCreated field's current value. More... | |
| void | setTimestamp (const DateTime timestamp) |
Sets the timestamp field to timestamp. More... | |
| void | setType (const File type) |
Sets the type field to type. More... | |
| void | setManufacturer (const Manufacturer manufacturer) |
Sets the manufacturer field to manufacturer. More... | |
| void | setProduct (const quint16 product) |
Sets the product field to product. More... | |
| void | setSerialNumber (const quint32z serialNumber) |
Sets the serialNumber field to serialNumber. More... | |
| void | setTimeCreated (const DateTime timeCreated) |
Sets the timeCreated field to timeCreated. More... | |
Public Member Functions inherited from AbstractDataMessage | |
| ~AbstractDataMessage () | |
| Destroys the AbstractDataMessage object. | |
| MesgNum | globalMessageNumber () const |
| Returns the data message's global message number. More... | |
Protected Member Functions | |
| TrainingFileMessage (TrainingFileMessagePrivate *const d) | |
Protected Member Functions inherited from AbstractDataMessage | |
| AbstractDataMessage (AbstractDataMessagePrivate *const d) | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractDataMessage | |
| static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
Protected Attributes inherited from AbstractDataMessage | |
| AbstractDataMessagePrivate *const | d_ptr |
| Internal d-pointer. | |
The TrainingFileMessage class represents a FIT TrainingFileMessage data message.
Definition at line 39 of file trainingfilemessage.h.
| 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.
Definition at line 52 of file trainingfilemessage.cpp.
|
explicitprotected |
Constructs a TrainingFileMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file trainingfilemessage.cpp.
| Manufacturer TrainingFileMessage::manufacturer | ( | ) | const |
Returns the TrainingFileMessage data message's manufacturer field's current value.
manufacturer field value. Definition at line 96 of file trainingfilemessage.cpp.
Referenced by setManufacturer().
| quint16 TrainingFileMessage::product | ( | ) | const |
Returns the TrainingFileMessage data message's product field's current value.
product field value. Definition at line 107 of file trainingfilemessage.cpp.
Referenced by setProduct().
| quint32z TrainingFileMessage::serialNumber | ( | ) | const |
Returns the TrainingFileMessage data message's serialNumber field's current value.
serialNumber field value. Definition at line 118 of file trainingfilemessage.cpp.
Referenced by setSerialNumber().
| void TrainingFileMessage::setManufacturer | ( | const Manufacturer | manufacturer | ) |
Sets the manufacturer field to manufacturer.
| manufacturer | The field value to set. |
Definition at line 160 of file trainingfilemessage.cpp.
References manufacturer().
| void TrainingFileMessage::setProduct | ( | const quint16 | product | ) |
Sets the product field to product.
| product | The field value to set. |
Definition at line 170 of file trainingfilemessage.cpp.
References product().
| void TrainingFileMessage::setSerialNumber | ( | const quint32z | serialNumber | ) |
Sets the serialNumber field to serialNumber.
| serialNumber | The field value to set. |
Definition at line 180 of file trainingfilemessage.cpp.
References serialNumber().
| void TrainingFileMessage::setTimeCreated | ( | const DateTime | timeCreated | ) |
Sets the timeCreated field to timeCreated.
| timeCreated | The field value to set. |
Definition at line 190 of file trainingfilemessage.cpp.
References timeCreated().
| void TrainingFileMessage::setTimestamp | ( | const DateTime | timestamp | ) |
Sets the timestamp field to timestamp.
| timestamp | The field value to set. |
Definition at line 140 of file trainingfilemessage.cpp.
References timestamp().
| void TrainingFileMessage::setType | ( | const File | type | ) |
Sets the type field to type.
| type | The field value to set. |
Definition at line 150 of file trainingfilemessage.cpp.
References type().
| DateTime TrainingFileMessage::timeCreated | ( | ) | const |
Returns the TrainingFileMessage data message's timeCreated field's current value.
timeCreated field value. Definition at line 129 of file trainingfilemessage.cpp.
Referenced by setTimeCreated().
| DateTime TrainingFileMessage::timestamp | ( | ) | const |
Returns the TrainingFileMessage data message's timestamp field's current value.
timestamp field value. Definition at line 74 of file trainingfilemessage.cpp.
Referenced by setTimestamp().
| File TrainingFileMessage::type | ( | ) | const |
Returns the TrainingFileMessage data message's type field's current value.
type field value. Definition at line 85 of file trainingfilemessage.cpp.
Referenced by setType().