|
QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
| WeatherAlertMessagePrivate (WeatherAlertMessage *const q) | |
| virtual | ~WeatherAlertMessagePrivate () |
Public Member Functions inherited from AbstractDataMessagePrivate | |
| AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
| virtual | ~AbstractDataMessagePrivate () |
| bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
| DateTime | timestamp |
| The WeatherAlertMessage FIT message's timestamp field. | |
| QString | reportId |
| The WeatherAlertMessage FIT message's reportId field. More... | |
| DateTime | issueTime |
| The WeatherAlertMessage FIT message's issueTime field. More... | |
| DateTime | expireTime |
| The WeatherAlertMessage FIT message's expireTime field. More... | |
| WeatherSeverity | severity |
| The WeatherAlertMessage FIT message's severity field. More... | |
| WeatherSevereType | type |
| The WeatherAlertMessage FIT message's type field. More... | |
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 WeatherAlertMessagePrivate class provides private implementation for the WeatherAlertMessage.
Definition at line 38 of file weatheralertmessage_p.h.
|
explicit |
Constructs a WeatherAlertMessagePrivate object with public implementation q.
| q | Pointer to public implementaton. |
Definition at line 225 of file weatheralertmessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the WeatherAlertMessagePrivate object.
Definition at line 241 of file weatheralertmessage.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 246 of file weatheralertmessage.cpp.
References AbstractDataMessagePrivate::verify().
| DateTime WeatherAlertMessagePrivate::expireTime |
The WeatherAlertMessage FIT message's expireTime field.
Time alert expires
Definition at line 65 of file weatheralertmessage_p.h.
| DateTime WeatherAlertMessagePrivate::issueTime |
The WeatherAlertMessage FIT message's issueTime field.
Time alert was issued
Definition at line 58 of file weatheralertmessage_p.h.
| QString WeatherAlertMessagePrivate::reportId |
The WeatherAlertMessage FIT message's reportId field.
Unique identifier from GCS report ID string, length is 12
Definition at line 51 of file weatheralertmessage_p.h.
| WeatherSeverity WeatherAlertMessagePrivate::severity |
The WeatherAlertMessage FIT message's severity field.
Warning, Watch, Advisory, Statement
Definition at line 72 of file weatheralertmessage_p.h.
| WeatherSevereType WeatherAlertMessagePrivate::type |
The WeatherAlertMessage FIT message's type field.
Tornado, Severe Thunderstorm, etc.
Definition at line 79 of file weatheralertmessage_p.h.