QtFit
0.1
Internal library development documentation
|
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... | |
Protected Member Functions | |
FileCreatorMessage (FileCreatorMessagePrivate *const d) | |
![]() | |
AbstractDataMessage (AbstractDataMessagePrivate *const d) | |
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... | |
![]() | |
AbstractDataMessagePrivate *const | d_ptr |
Internal d-pointer. | |
The FileCreatorMessage class represents a FIT FileCreatorMessage data message.
Definition at line 39 of file filecreatormessage.h.
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.
Definition at line 52 of file filecreatormessage.cpp.
|
explicitprotected |
Constructs a FileCreatorMessage object with private implementation d.
d | Pointer to private implementation. |
Definition at line 64 of file filecreatormessage.cpp.
quint8 FileCreatorMessage::hardwareVersion | ( | ) | const |
Returns the FileCreatorMessage data message's hardwareVersion
field's current value.
hardwareVersion
field value. Definition at line 85 of file filecreatormessage.cpp.
Referenced by setHardwareVersion().
void FileCreatorMessage::setHardwareVersion | ( | const quint8 | hardwareVersion | ) |
Sets the hardwareVersion
field to hardwareVersion.
hardwareVersion | The field value to set. |
Definition at line 106 of file filecreatormessage.cpp.
References hardwareVersion().
void FileCreatorMessage::setSoftwareVersion | ( | const quint16 | softwareVersion | ) |
Sets the softwareVersion
field to softwareVersion.
softwareVersion | The field value to set. |
Definition at line 96 of file filecreatormessage.cpp.
References softwareVersion().
quint16 FileCreatorMessage::softwareVersion | ( | ) | const |
Returns the FileCreatorMessage data message's softwareVersion
field's current value.
softwareVersion
field value. Definition at line 74 of file filecreatormessage.cpp.
Referenced by setSoftwareVersion().