The DiveAlarmMessage class represents a FIT DiveAlarmMessage 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 DiveAlarmMessage class represents a FIT DiveAlarmMessage data message.
- See also
- DataMessage
◆ DiveAlarmMessage()
DiveAlarmMessage::DiveAlarmMessage |
( |
| ) |
|
Constructs a DiveAlarmMessage 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.
◆ alarmType()
Returns the DiveAlarmMessage data message's alarmType
field's current value.
- Returns
- the
alarmType
field value.
◆ depth()
quint32 DiveAlarmMessage::depth |
( |
| ) |
const |
Returns the DiveAlarmMessage data message's depth
field's current value.
- Returns
- the
depth
field value.
◆ diveTypes()
SubSport DiveAlarmMessage::diveTypes |
( |
| ) |
const |
Returns the DiveAlarmMessage data message's diveTypes
field's current value.
- Returns
- the
diveTypes
field value.
◆ enabled()
bool DiveAlarmMessage::enabled |
( |
| ) |
const |
Returns the DiveAlarmMessage data message's enabled
field's current value.
- Returns
- the
enabled
field value.
◆ messageIndex()
Returns the DiveAlarmMessage data message's messageIndex
field's current value.
Index of the alarm
- Returns
- the
messageIndex
field value.
◆ setAlarmType()
void DiveAlarmMessage::setAlarmType |
( |
const DiveAlarmType |
alarmType | ) |
|
Sets the alarmType
field to alarmType.
- Parameters
-
alarmType | The field value to set. |
◆ setDepth()
void DiveAlarmMessage::setDepth |
( |
const quint32 |
depth | ) |
|
Sets the depth
field to depth.
- Parameters
-
depth | The field value to set. |
◆ setDiveTypes()
void DiveAlarmMessage::setDiveTypes |
( |
const SubSport |
diveTypes | ) |
|
Sets the diveTypes
field to diveTypes.
- Parameters
-
diveTypes | The field value to set. |
◆ setEnabled()
void DiveAlarmMessage::setEnabled |
( |
const bool |
enabled | ) |
|
Sets the enabled
field to enabled.
- Parameters
-
enabled | The field value to set. |
◆ setMessageIndex()
void DiveAlarmMessage::setMessageIndex |
( |
const MessageIndex |
messageIndex | ) |
|
Sets the messageIndex
field to messageIndex.
- Parameters
-
messageIndex | The field value to set. |
◆ setSound()
void DiveAlarmMessage::setSound |
( |
const Tone |
sound | ) |
|
Sets the sound
field to sound.
- Parameters
-
sound | The field value to set. |
◆ setTime()
void DiveAlarmMessage::setTime |
( |
const qint32 |
time | ) |
|
Sets the time
field to time.
- Parameters
-
time | The field value to set. |
◆ sound()
Tone DiveAlarmMessage::sound |
( |
| ) |
const |
Returns the DiveAlarmMessage data message's sound
field's current value.
- Returns
- the
sound
field value.
◆ time()
qint32 DiveAlarmMessage::time |
( |
| ) |
const |
Returns the DiveAlarmMessage data message's time
field's current value.
- Returns
- the
time
field value.
The documentation for this class was generated from the following files: