QtFit  0.1
Native Qt library for Garmin FIT format
All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
DiveGasMessage Class Reference

The DiveGasMessage class represents a FIT DiveGasMessage data message. More...

Inheritance diagram for DiveGasMessage:
[legend]
Collaboration diagram for DiveGasMessage:
[legend]

Public Member Functions

 DiveGasMessage ()
 Constructs a DiveGasMessage object. More...
 
MessageIndex messageIndex () const
 Returns the DiveGasMessage data message's messageIndex field's current value. More...
 
quint8 heliumContent () const
 Returns the DiveGasMessage data message's heliumContent field's current value. More...
 
quint8 oxygenContent () const
 Returns the DiveGasMessage data message's oxygenContent field's current value. More...
 
DiveGasStatus status () const
 Returns the DiveGasMessage data message's status field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. More...
 
void setHeliumContent (const quint8 heliumContent)
 Sets the heliumContent field to heliumContent. More...
 
void setOxygenContent (const quint8 oxygenContent)
 Sets the oxygenContent field to oxygenContent. More...
 
void setStatus (const DiveGasStatus status)
 Sets the status field to status. More...
 
- Public Member Functions inherited from AbstractDataMessage
 ~AbstractDataMessage ()
 Destroys the AbstractDataMessage object.
 
MesgNum globalMessageNumber () const
 Returns the data message's global message number. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractDataMessage
static AbstractDataMessagefromData (const DataDefinition *const defn, const QByteArray &record)
 Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
 

Detailed Description

The DiveGasMessage class represents a FIT DiveGasMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ 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.

Member Function Documentation

◆ heliumContent()

quint8 DiveGasMessage::heliumContent ( ) const

Returns the DiveGasMessage data message's heliumContent field's current value.

Returns
the heliumContent field value.
Here is the caller graph for this function:

◆ messageIndex()

MessageIndex DiveGasMessage::messageIndex ( ) const

Returns the DiveGasMessage data message's messageIndex field's current value.

Returns
the messageIndex field value.
Here is the caller graph for this function:

◆ oxygenContent()

quint8 DiveGasMessage::oxygenContent ( ) const

Returns the DiveGasMessage data message's oxygenContent field's current value.

Returns
the oxygenContent field value.
Here is the caller graph for this function:

◆ setHeliumContent()

void DiveGasMessage::setHeliumContent ( const quint8  heliumContent)

Sets the heliumContent field to heliumContent.

Parameters
heliumContentThe field value to set.
Here is the call graph for this function:

◆ setMessageIndex()

void DiveGasMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

Parameters
messageIndexThe field value to set.
Here is the call graph for this function:

◆ setOxygenContent()

void DiveGasMessage::setOxygenContent ( const quint8  oxygenContent)

Sets the oxygenContent field to oxygenContent.

Parameters
oxygenContentThe field value to set.
Here is the call graph for this function:

◆ setStatus()

void DiveGasMessage::setStatus ( const DiveGasStatus  status)

Sets the status field to status.

Parameters
statusThe field value to set.
Here is the call graph for this function:

◆ status()

DiveGasStatus DiveGasMessage::status ( ) const

Returns the DiveGasMessage data message's status field's current value.

Returns
the status field value.
Here is the caller graph for this function:

The documentation for this class was generated from the following files: