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

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

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

Public Member Functions

 HrZoneMessage ()
 Constructs a HrZoneMessage object. More...
 
MessageIndex messageIndex () const
 Returns the HrZoneMessage data message's messageIndex field's current value. More...
 
quint8 highBpm () const
 Returns the HrZoneMessage data message's highBpm field's current value. More...
 
QString name () const
 Returns the HrZoneMessage data message's name field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. More...
 
void setHighBpm (const quint8 highBpm)
 Sets the highBpm field to highBpm. More...
 
void setName (const QString name)
 Sets the name field to name. 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 HrZoneMessage class represents a FIT HrZoneMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ HrZoneMessage()

HrZoneMessage::HrZoneMessage ( )

Constructs a HrZoneMessage 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

◆ highBpm()

quint8 HrZoneMessage::highBpm ( ) const

Returns the HrZoneMessage data message's highBpm field's current value.

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

◆ messageIndex()

MessageIndex HrZoneMessage::messageIndex ( ) const

Returns the HrZoneMessage data message's messageIndex field's current value.

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

◆ name()

QString HrZoneMessage::name ( ) const

Returns the HrZoneMessage data message's name field's current value.

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

◆ setHighBpm()

void HrZoneMessage::setHighBpm ( const quint8  highBpm)

Sets the highBpm field to highBpm.

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

◆ setMessageIndex()

void HrZoneMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

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

◆ setName()

void HrZoneMessage::setName ( const QString  name)

Sets the name field to name.

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

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