|
QtFit
0.1
Internal library development documentation
|
The DiveAlarmMessage class represents a FIT DiveAlarmMessage data message. More...
Public Member Functions | |
| DiveAlarmMessage () | |
| Constructs a DiveAlarmMessage object. More... | |
| MessageIndex | messageIndex () const |
Returns the DiveAlarmMessage data message's messageIndex field's current value. More... | |
| quint32 | depth () const |
Returns the DiveAlarmMessage data message's depth field's current value. More... | |
| qint32 | time () const |
Returns the DiveAlarmMessage data message's time field's current value. More... | |
| bool | enabled () const |
Returns the DiveAlarmMessage data message's enabled field's current value. More... | |
| DiveAlarmType | alarmType () const |
Returns the DiveAlarmMessage data message's alarmType field's current value. More... | |
| Tone | sound () const |
Returns the DiveAlarmMessage data message's sound field's current value. More... | |
| SubSport | diveTypes () const |
Returns the DiveAlarmMessage data message's diveTypes field's current value. More... | |
| void | setMessageIndex (const MessageIndex messageIndex) |
Sets the messageIndex field to messageIndex. More... | |
| void | setDepth (const quint32 depth) |
Sets the depth field to depth. More... | |
| void | setTime (const qint32 time) |
Sets the time field to time. More... | |
| void | setEnabled (const bool enabled) |
Sets the enabled field to enabled. More... | |
| void | setAlarmType (const DiveAlarmType alarmType) |
Sets the alarmType field to alarmType. More... | |
| void | setSound (const Tone sound) |
Sets the sound field to sound. More... | |
| void | setDiveTypes (const SubSport diveTypes) |
Sets the diveTypes field to diveTypes. More... | |
Public Member Functions inherited from AbstractDataMessage | |
| ~AbstractDataMessage () | |
| Destroys the AbstractDataMessage object. | |
| MesgNum | globalMessageNumber () const |
| Returns the data message's global message number. More... | |
Protected Member Functions | |
| DiveAlarmMessage (DiveAlarmMessagePrivate *const d) | |
Protected Member Functions inherited from AbstractDataMessage | |
| AbstractDataMessage (AbstractDataMessagePrivate *const d) | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractDataMessage | |
| static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
Protected Attributes inherited from AbstractDataMessage | |
| AbstractDataMessagePrivate *const | d_ptr |
| Internal d-pointer. | |
The DiveAlarmMessage class represents a FIT DiveAlarmMessage data message.
Definition at line 39 of file divealarmmessage.h.
| 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.
Definition at line 52 of file divealarmmessage.cpp.
|
explicitprotected |
Constructs a DiveAlarmMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file divealarmmessage.cpp.
| DiveAlarmType DiveAlarmMessage::alarmType | ( | ) | const |
Returns the DiveAlarmMessage data message's alarmType field's current value.
alarmType field value. Definition at line 120 of file divealarmmessage.cpp.
Referenced by setAlarmType().
| quint32 DiveAlarmMessage::depth | ( | ) | const |
Returns the DiveAlarmMessage data message's depth field's current value.
depth field value. Definition at line 87 of file divealarmmessage.cpp.
Referenced by setDepth().
| SubSport DiveAlarmMessage::diveTypes | ( | ) | const |
Returns the DiveAlarmMessage data message's diveTypes field's current value.
diveTypes field value. Definition at line 142 of file divealarmmessage.cpp.
Referenced by setDiveTypes().
| bool DiveAlarmMessage::enabled | ( | ) | const |
Returns the DiveAlarmMessage data message's enabled field's current value.
enabled field value. Definition at line 109 of file divealarmmessage.cpp.
Referenced by setEnabled().
| MessageIndex DiveAlarmMessage::messageIndex | ( | ) | const |
Returns the DiveAlarmMessage data message's messageIndex field's current value.
Index of the alarm
messageIndex field value. Definition at line 76 of file divealarmmessage.cpp.
Referenced by setMessageIndex().
| void DiveAlarmMessage::setAlarmType | ( | const DiveAlarmType | alarmType | ) |
Sets the alarmType field to alarmType.
| alarmType | The field value to set. |
Definition at line 193 of file divealarmmessage.cpp.
References alarmType().
| void DiveAlarmMessage::setDepth | ( | const quint32 | depth | ) |
Sets the depth field to depth.
| depth | The field value to set. |
Definition at line 163 of file divealarmmessage.cpp.
References depth().
| void DiveAlarmMessage::setDiveTypes | ( | const SubSport | diveTypes | ) |
Sets the diveTypes field to diveTypes.
| diveTypes | The field value to set. |
Definition at line 213 of file divealarmmessage.cpp.
References diveTypes().
| void DiveAlarmMessage::setEnabled | ( | const bool | enabled | ) |
Sets the enabled field to enabled.
| enabled | The field value to set. |
Definition at line 183 of file divealarmmessage.cpp.
References enabled().
| void DiveAlarmMessage::setMessageIndex | ( | const MessageIndex | messageIndex | ) |
Sets the messageIndex field to messageIndex.
| messageIndex | The field value to set. |
Definition at line 153 of file divealarmmessage.cpp.
References messageIndex().
| void DiveAlarmMessage::setSound | ( | const Tone | sound | ) |
Sets the sound field to sound.
| sound | The field value to set. |
Definition at line 203 of file divealarmmessage.cpp.
References sound().
| void DiveAlarmMessage::setTime | ( | const qint32 | time | ) |
Sets the time field to time.
| time | The field value to set. |
Definition at line 173 of file divealarmmessage.cpp.
References time().
| Tone DiveAlarmMessage::sound | ( | ) | const |
Returns the DiveAlarmMessage data message's sound field's current value.
sound field value. Definition at line 131 of file divealarmmessage.cpp.
Referenced by setSound().
| qint32 DiveAlarmMessage::time | ( | ) | const |
Returns the DiveAlarmMessage data message's time field's current value.
time field value. Definition at line 98 of file divealarmmessage.cpp.
Referenced by setTime().