|
QtFit
0.1
Internal library development documentation
|
The WeatherAlertMessage class represents a FIT WeatherAlertMessage data message. More...
Public Member Functions | |
| WeatherAlertMessage () | |
| Constructs a WeatherAlertMessage object. More... | |
| DateTime | timestamp () const |
Returns the WeatherAlertMessage data message's timestamp field's current value. More... | |
| QString | reportId () const |
Returns the WeatherAlertMessage data message's reportId field's current value. More... | |
| DateTime | issueTime () const |
Returns the WeatherAlertMessage data message's issueTime field's current value. More... | |
| DateTime | expireTime () const |
Returns the WeatherAlertMessage data message's expireTime field's current value. More... | |
| WeatherSeverity | severity () const |
Returns the WeatherAlertMessage data message's severity field's current value. More... | |
| WeatherSevereType | type () const |
Returns the WeatherAlertMessage data message's type field's current value. More... | |
| void | setTimestamp (const DateTime timestamp) |
Sets the timestamp field to timestamp. More... | |
| void | setReportId (const QString reportId) |
Sets the reportId field to reportId. More... | |
| void | setIssueTime (const DateTime issueTime) |
Sets the issueTime field to issueTime. More... | |
| void | setExpireTime (const DateTime expireTime) |
Sets the expireTime field to expireTime. More... | |
| void | setSeverity (const WeatherSeverity severity) |
Sets the severity field to severity. More... | |
| void | setType (const WeatherSevereType type) |
Sets the type field to type. 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 | |
| WeatherAlertMessage (WeatherAlertMessagePrivate *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 WeatherAlertMessage class represents a FIT WeatherAlertMessage data message.
Definition at line 39 of file weatheralertmessage.h.
| WeatherAlertMessage::WeatherAlertMessage | ( | ) |
Constructs a WeatherAlertMessage 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 weatheralertmessage.cpp.
|
explicitprotected |
Constructs a WeatherAlertMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file weatheralertmessage.cpp.
| DateTime WeatherAlertMessage::expireTime | ( | ) | const |
Returns the WeatherAlertMessage data message's expireTime field's current value.
Time alert expires
expireTime field value. Definition at line 113 of file weatheralertmessage.cpp.
Referenced by setExpireTime().
| DateTime WeatherAlertMessage::issueTime | ( | ) | const |
Returns the WeatherAlertMessage data message's issueTime field's current value.
Time alert was issued
issueTime field value. Definition at line 100 of file weatheralertmessage.cpp.
Referenced by setIssueTime().
| QString WeatherAlertMessage::reportId | ( | ) | const |
Returns the WeatherAlertMessage data message's reportId field's current value.
Unique identifier from GCS report ID string, length is 12
reportId field value. Definition at line 87 of file weatheralertmessage.cpp.
Referenced by setReportId().
| void WeatherAlertMessage::setExpireTime | ( | const DateTime | expireTime | ) |
Sets the expireTime field to expireTime.
| expireTime | The field value to set. |
Definition at line 180 of file weatheralertmessage.cpp.
References expireTime().
| void WeatherAlertMessage::setIssueTime | ( | const DateTime | issueTime | ) |
Sets the issueTime field to issueTime.
| issueTime | The field value to set. |
Definition at line 170 of file weatheralertmessage.cpp.
References issueTime().
| void WeatherAlertMessage::setReportId | ( | const QString | reportId | ) |
Sets the reportId field to reportId.
| reportId | The field value to set. |
Definition at line 160 of file weatheralertmessage.cpp.
References reportId().
| void WeatherAlertMessage::setSeverity | ( | const WeatherSeverity | severity | ) |
Sets the severity field to severity.
| severity | The field value to set. |
Definition at line 190 of file weatheralertmessage.cpp.
References severity().
| void WeatherAlertMessage::setTimestamp | ( | const DateTime | timestamp | ) |
Sets the timestamp field to timestamp.
| timestamp | The field value to set. |
Definition at line 150 of file weatheralertmessage.cpp.
References timestamp().
| void WeatherAlertMessage::setType | ( | const WeatherSevereType | type | ) |
Sets the type field to type.
| type | The field value to set. |
Definition at line 200 of file weatheralertmessage.cpp.
References type().
| WeatherSeverity WeatherAlertMessage::severity | ( | ) | const |
Returns the WeatherAlertMessage data message's severity field's current value.
Warning, Watch, Advisory, Statement
severity field value. Definition at line 126 of file weatheralertmessage.cpp.
Referenced by setSeverity().
| DateTime WeatherAlertMessage::timestamp | ( | ) | const |
Returns the WeatherAlertMessage data message's timestamp field's current value.
timestamp field value. Definition at line 74 of file weatheralertmessage.cpp.
Referenced by setTimestamp().
| WeatherSevereType WeatherAlertMessage::type | ( | ) | const |
Returns the WeatherAlertMessage data message's type field's current value.
Tornado, Severe Thunderstorm, etc.
type field value. Definition at line 139 of file weatheralertmessage.cpp.
Referenced by setType().