QtFit  0.1
Native Qt library for Garmin FIT format
All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
WeatherAlertMessage Class Reference

The WeatherAlertMessage class represents a FIT WeatherAlertMessage data message. More...

Inheritance diagram for WeatherAlertMessage:
[legend]
Collaboration diagram for WeatherAlertMessage:
[legend]

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...
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractDataMessage
static AbstractDataMessagefromData (const DataDefinition *const defn, const QByteArray &record)
 Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
 

Detailed Description

The WeatherAlertMessage class represents a FIT WeatherAlertMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ WeatherAlertMessage()

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.

Member Function Documentation

◆ expireTime()

DateTime WeatherAlertMessage::expireTime ( ) const

Returns the WeatherAlertMessage data message's expireTime field's current value.

Time alert expires

Returns
the expireTime field value.
Here is the caller graph for this function:

◆ issueTime()

DateTime WeatherAlertMessage::issueTime ( ) const

Returns the WeatherAlertMessage data message's issueTime field's current value.

Time alert was issued

Returns
the issueTime field value.
Here is the caller graph for this function:

◆ reportId()

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

Returns
the reportId field value.
Here is the caller graph for this function:

◆ setExpireTime()

void WeatherAlertMessage::setExpireTime ( const DateTime  expireTime)

Sets the expireTime field to expireTime.

Parameters
expireTimeThe field value to set.
Here is the call graph for this function:

◆ setIssueTime()

void WeatherAlertMessage::setIssueTime ( const DateTime  issueTime)

Sets the issueTime field to issueTime.

Parameters
issueTimeThe field value to set.
Here is the call graph for this function:

◆ setReportId()

void WeatherAlertMessage::setReportId ( const QString  reportId)

Sets the reportId field to reportId.

Parameters
reportIdThe field value to set.
Here is the call graph for this function:

◆ setSeverity()

void WeatherAlertMessage::setSeverity ( const WeatherSeverity  severity)

Sets the severity field to severity.

Parameters
severityThe field value to set.
Here is the call graph for this function:

◆ setTimestamp()

void WeatherAlertMessage::setTimestamp ( const DateTime  timestamp)

Sets the timestamp field to timestamp.

Parameters
timestampThe field value to set.
Here is the call graph for this function:

◆ setType()

void WeatherAlertMessage::setType ( const WeatherSevereType  type)

Sets the type field to type.

Parameters
typeThe field value to set.
Here is the call graph for this function:

◆ severity()

WeatherSeverity WeatherAlertMessage::severity ( ) const

Returns the WeatherAlertMessage data message's severity field's current value.

Warning, Watch, Advisory, Statement

Returns
the severity field value.
Here is the caller graph for this function:

◆ timestamp()

DateTime WeatherAlertMessage::timestamp ( ) const

Returns the WeatherAlertMessage data message's timestamp field's current value.

Returns
the timestamp field value.
Here is the caller graph for this function:

◆ type()

WeatherSevereType WeatherAlertMessage::type ( ) const

Returns the WeatherAlertMessage data message's type field's current value.

Tornado, Severe Thunderstorm, etc.

Returns
the type field value.
Here is the caller graph for this function:

The documentation for this class was generated from the following files: