The FileIdMessage class represents a FIT FileIdMessage 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 FileIdMessage class represents a FIT FileIdMessage data message.
- See also
- DataMessage
◆ FileIdMessage()
FileIdMessage::FileIdMessage |
( |
| ) |
|
Constructs a FileIdMessage 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 FileIdMessage data message's manufacturer
field's current value.
- Returns
- the
manufacturer
field value.
◆ number()
quint16 FileIdMessage::number |
( |
| ) |
const |
Returns the FileIdMessage data message's number
field's current value.
Only set for files that are not created/erased.
- Returns
- the
number
field value.
◆ product()
quint16 FileIdMessage::product |
( |
| ) |
const |
Returns the FileIdMessage data message's product
field's current value.
- Returns
- the
product
field value.
◆ productName()
QString FileIdMessage::productName |
( |
| ) |
const |
Returns the FileIdMessage data message's productName
field's current value.
Optional free form string to indicate the devices name or model
- Returns
- the
productName
field value.
◆ serialNumber()
quint32z FileIdMessage::serialNumber |
( |
| ) |
const |
Returns the FileIdMessage data message's serialNumber
field's current value.
- Returns
- the
serialNumber
field value.
◆ setManufacturer()
void FileIdMessage::setManufacturer |
( |
const Manufacturer |
manufacturer | ) |
|
Sets the manufacturer
field to manufacturer.
- Parameters
-
manufacturer | The field value to set. |
◆ setNumber()
void FileIdMessage::setNumber |
( |
const quint16 |
number | ) |
|
Sets the number
field to number.
- Parameters
-
number | The field value to set. |
◆ setProduct()
void FileIdMessage::setProduct |
( |
const quint16 |
product | ) |
|
Sets the product
field to product.
- Parameters
-
product | The field value to set. |
◆ setProductName()
void FileIdMessage::setProductName |
( |
const QString |
productName | ) |
|
Sets the productName
field to productName.
- Parameters
-
productName | The field value to set. |
◆ setSerialNumber()
void FileIdMessage::setSerialNumber |
( |
const quint32z |
serialNumber | ) |
|
Sets the serialNumber
field to serialNumber.
- Parameters
-
serialNumber | The field value to set. |
◆ setTimeCreated()
void FileIdMessage::setTimeCreated |
( |
const DateTime |
timeCreated | ) |
|
Sets the timeCreated
field to timeCreated.
- Parameters
-
timeCreated | The field value to set. |
◆ setType()
void FileIdMessage::setType |
( |
const File |
type | ) |
|
Sets the type
field to type.
- Parameters
-
type | The field value to set. |
◆ timeCreated()
DateTime FileIdMessage::timeCreated |
( |
| ) |
const |
Returns the FileIdMessage data message's timeCreated
field's current value.
Only set for files that are can be created/erased.
- Returns
- the
timeCreated
field value.
◆ type()
File FileIdMessage::type |
( |
| ) |
const |
Returns the FileIdMessage data message's type
field's current value.
- Returns
- the
type
field value.
The documentation for this class was generated from the following files: