QtFit
0.1
Native Qt library for Garmin FIT format
|
The FileCreatorMessage class represents a FIT FileCreatorMessage data message. More...
Public Member Functions | |
FileCreatorMessage () | |
Constructs a FileCreatorMessage object. More... | |
quint16 | softwareVersion () const |
Returns the FileCreatorMessage data message's softwareVersion field's current value. More... | |
quint8 | hardwareVersion () const |
Returns the FileCreatorMessage data message's hardwareVersion field's current value. More... | |
void | setSoftwareVersion (const quint16 softwareVersion) |
Sets the softwareVersion field to softwareVersion. More... | |
void | setHardwareVersion (const quint8 hardwareVersion) |
Sets the hardwareVersion field to hardwareVersion. 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 FileCreatorMessage class represents a FIT FileCreatorMessage data message.
FileCreatorMessage::FileCreatorMessage | ( | ) |
Constructs a FileCreatorMessage 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.
quint8 FileCreatorMessage::hardwareVersion | ( | ) | const |
Returns the FileCreatorMessage data message's hardwareVersion
field's current value.
hardwareVersion
field value. void FileCreatorMessage::setHardwareVersion | ( | const quint8 | hardwareVersion | ) |
Sets the hardwareVersion
field to hardwareVersion.
hardwareVersion | The field value to set. |
void FileCreatorMessage::setSoftwareVersion | ( | const quint16 | softwareVersion | ) |
Sets the softwareVersion
field to softwareVersion.
softwareVersion | The field value to set. |
quint16 FileCreatorMessage::softwareVersion | ( | ) | const |
Returns the FileCreatorMessage data message's softwareVersion
field's current value.
softwareVersion
field value.