The DiveGasMessage class represents a FIT DiveGasMessage 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 DiveGasMessage class represents a FIT DiveGasMessage data message.
- See also
- DataMessage
◆ DiveGasMessage()
DiveGasMessage::DiveGasMessage |
( |
| ) |
|
Constructs a DiveGasMessage 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.
◆ heliumContent()
quint8 DiveGasMessage::heliumContent |
( |
| ) |
const |
Returns the DiveGasMessage data message's heliumContent
field's current value.
- Returns
- the
heliumContent
field value.
◆ messageIndex()
Returns the DiveGasMessage data message's messageIndex
field's current value.
- Returns
- the
messageIndex
field value.
◆ oxygenContent()
quint8 DiveGasMessage::oxygenContent |
( |
| ) |
const |
Returns the DiveGasMessage data message's oxygenContent
field's current value.
- Returns
- the
oxygenContent
field value.
◆ setHeliumContent()
void DiveGasMessage::setHeliumContent |
( |
const quint8 |
heliumContent | ) |
|
Sets the heliumContent
field to heliumContent.
- Parameters
-
heliumContent | The field value to set. |
◆ setMessageIndex()
void DiveGasMessage::setMessageIndex |
( |
const MessageIndex |
messageIndex | ) |
|
Sets the messageIndex
field to messageIndex.
- Parameters
-
messageIndex | The field value to set. |
◆ setOxygenContent()
void DiveGasMessage::setOxygenContent |
( |
const quint8 |
oxygenContent | ) |
|
Sets the oxygenContent
field to oxygenContent.
- Parameters
-
oxygenContent | The field value to set. |
◆ setStatus()
Sets the status
field to status.
- Parameters
-
status | The field value to set. |
◆ status()
Returns the DiveGasMessage data message's status
field's current value.
- Returns
- the
status
field value.
The documentation for this class was generated from the following files: