|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| DiveSettingsMessagePrivate (DiveSettingsMessage *const q) | |
| virtual | ~DiveSettingsMessagePrivate () |
Public Member Functions inherited from AbstractDataMessagePrivate | |
| AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
| virtual | ~AbstractDataMessagePrivate () |
| bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
| MessageIndex | messageIndex |
| The DiveSettingsMessage FIT message's messageIndex field. | |
| QString | name |
| The DiveSettingsMessage FIT message's name field. | |
| TissueModelType | model |
| The DiveSettingsMessage FIT message's model field. | |
| quint8 | gfLow |
| The DiveSettingsMessage FIT message's gfLow field. | |
| quint8 | gfHigh |
| The DiveSettingsMessage FIT message's gfHigh field. | |
| WaterType | waterType |
| The DiveSettingsMessage FIT message's waterType field. | |
| float | waterDensity |
| The DiveSettingsMessage FIT message's waterDensity field. More... | |
| quint8 | po2Warn |
| The DiveSettingsMessage FIT message's po2Warn field. More... | |
| quint8 | po2Critical |
| The DiveSettingsMessage FIT message's po2Critical field. More... | |
| quint8 | po2Deco |
| The DiveSettingsMessage FIT message's po2Deco field. | |
| bool | safetyStopEnabled |
| The DiveSettingsMessage FIT message's safetyStopEnabled field. | |
| float | bottomDepth |
| The DiveSettingsMessage FIT message's bottomDepth field. | |
| quint32 | bottomTime |
| The DiveSettingsMessage FIT message's bottomTime field. | |
| bool | apneaCountdownEnabled |
| The DiveSettingsMessage FIT message's apneaCountdownEnabled field. | |
| quint32 | apneaCountdownTime |
| The DiveSettingsMessage FIT message's apneaCountdownTime field. | |
| DiveBacklightMode | backlightMode |
| The DiveSettingsMessage FIT message's backlightMode field. | |
| quint8 | backlightBrightness |
| The DiveSettingsMessage FIT message's backlightBrightness field. | |
| BacklightTimeout | backlightTimeout |
| The DiveSettingsMessage FIT message's backlightTimeout field. | |
| quint16 | repeatDiveInterval |
| The DiveSettingsMessage FIT message's repeatDiveInterval field. More... | |
| quint16 | safetyStopTime |
| The DiveSettingsMessage FIT message's safetyStopTime field. More... | |
| SourceType | heartRateSourceType |
| The DiveSettingsMessage FIT message's heartRateSourceType field. | |
| quint8 | heartRateSource |
| The DiveSettingsMessage FIT message's heartRateSource field. | |
Public Attributes inherited from AbstractDataMessagePrivate | |
| MesgNum | globalMessageNumber |
| FIT Globla Message Number for this FIT Data Message. | |
Protected Member Functions | |
| bool | setField (const int fieldId, const QByteArray &data, const FitBaseType baseType, const bool bigEndian) override |
Protected Member Functions inherited from AbstractDataMessagePrivate | |
| bool | verify (const QByteArray &data, const FitBaseType actualType, const int expectedSize, const FitBaseType expectedType, const char *messageFieldName) |
Additional Inherited Members | |
Protected Attributes inherited from AbstractDataMessagePrivate | |
| AbstractDataMessage *const | q_ptr |
| Internal q-pointer. | |
The DiveSettingsMessagePrivate class provides private implementation for the DiveSettingsMessage.
Definition at line 38 of file divesettingsmessage_p.h.
|
explicit |
Constructs a DiveSettingsMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 561 of file divesettingsmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the DiveSettingsMessagePrivate object.
Definition at line 593 of file divesettingsmessage.cpp.
|
overrideprotectedvirtual |
Sets the value of the fieldId field.
Derived classes must implement this method to extract the baseType value from data, and assign the extracted value the fieldId field.
| fieldId | The field number within the given FIT data message. |
| data | The raw data to extract the field value from. |
| baseType | The FIT base type for the field. |
| bigEndian | Whether or not multibyte values in record are big-endian. |
true if the field was set, or safely ignored; false otherwise. Implements AbstractDataMessagePrivate.
Definition at line 598 of file divesettingsmessage.cpp.
References AbstractDataMessagePrivate::verify().
| quint8 DiveSettingsMessagePrivate::po2Critical |
The DiveSettingsMessage FIT message's po2Critical field.
Typically 1.60
Definition at line 90 of file divesettingsmessage_p.h.
| quint8 DiveSettingsMessagePrivate::po2Warn |
The DiveSettingsMessage FIT message's po2Warn field.
Typically 1.40
Definition at line 83 of file divesettingsmessage_p.h.
| quint16 DiveSettingsMessagePrivate::repeatDiveInterval |
The DiveSettingsMessage FIT message's repeatDiveInterval field.
Time between surfacing and ending the activity
Definition at line 142 of file divesettingsmessage_p.h.
| quint16 DiveSettingsMessagePrivate::safetyStopTime |
The DiveSettingsMessage FIT message's safetyStopTime field.
Time at safety stop (if enabled)
Definition at line 149 of file divesettingsmessage_p.h.
| float DiveSettingsMessagePrivate::waterDensity |
The DiveSettingsMessage FIT message's waterDensity field.
Fresh water is usually 1000; salt water is usually 1025
Definition at line 76 of file divesettingsmessage_p.h.