The SoftwareMessage class represents a FIT SoftwareMessage 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 SoftwareMessage class represents a FIT SoftwareMessage data message.
- See also
- DataMessage
◆ SoftwareMessage()
SoftwareMessage::SoftwareMessage |
( |
| ) |
|
Constructs a SoftwareMessage 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.
◆ messageIndex()
Returns the SoftwareMessage data message's messageIndex
field's current value.
- Returns
- the
messageIndex
field value.
◆ partNumber()
QString SoftwareMessage::partNumber |
( |
| ) |
const |
Returns the SoftwareMessage data message's partNumber
field's current value.
- Returns
- the
partNumber
field value.
◆ setMessageIndex()
void SoftwareMessage::setMessageIndex |
( |
const MessageIndex |
messageIndex | ) |
|
Sets the messageIndex
field to messageIndex.
- Parameters
-
messageIndex | The field value to set. |
◆ setPartNumber()
void SoftwareMessage::setPartNumber |
( |
const QString |
partNumber | ) |
|
Sets the partNumber
field to partNumber.
- Parameters
-
partNumber | The field value to set. |
◆ setVersion()
void SoftwareMessage::setVersion |
( |
const quint16 |
version | ) |
|
Sets the version
field to version.
- Parameters
-
version | The field value to set. |
◆ version()
quint16 SoftwareMessage::version |
( |
| ) |
const |
Returns the SoftwareMessage data message's version
field's current value.
- Returns
- the
version
field value.
The documentation for this class was generated from the following files: