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

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

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

Public Member Functions

 ZonesTargetMessage ()
 Constructs a ZonesTargetMessage object. More...
 
quint8 maxHeartRate () const
 Returns the ZonesTargetMessage data message's maxHeartRate field's current value. More...
 
quint8 thresholdHeartRate () const
 Returns the ZonesTargetMessage data message's thresholdHeartRate field's current value. More...
 
quint16 functionalThresholdPower () const
 Returns the ZonesTargetMessage data message's functionalThresholdPower field's current value. More...
 
HrZoneCalc hrCalcType () const
 Returns the ZonesTargetMessage data message's hrCalcType field's current value. More...
 
PwrZoneCalc pwrCalcType () const
 Returns the ZonesTargetMessage data message's pwrCalcType field's current value. More...
 
void setMaxHeartRate (const quint8 maxHeartRate)
 Sets the maxHeartRate field to maxHeartRate. More...
 
void setThresholdHeartRate (const quint8 thresholdHeartRate)
 Sets the thresholdHeartRate field to thresholdHeartRate. More...
 
void setFunctionalThresholdPower (const quint16 functionalThresholdPower)
 Sets the functionalThresholdPower field to functionalThresholdPower. More...
 
void setHrCalcType (const HrZoneCalc hrCalcType)
 Sets the hrCalcType field to hrCalcType. More...
 
void setPwrCalcType (const PwrZoneCalc pwrCalcType)
 Sets the pwrCalcType field to pwrCalcType. 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 ZonesTargetMessage class represents a FIT ZonesTargetMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ ZonesTargetMessage()

ZonesTargetMessage::ZonesTargetMessage ( )

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

◆ functionalThresholdPower()

quint16 ZonesTargetMessage::functionalThresholdPower ( ) const

Returns the ZonesTargetMessage data message's functionalThresholdPower field's current value.

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

◆ hrCalcType()

HrZoneCalc ZonesTargetMessage::hrCalcType ( ) const

Returns the ZonesTargetMessage data message's hrCalcType field's current value.

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

◆ maxHeartRate()

quint8 ZonesTargetMessage::maxHeartRate ( ) const

Returns the ZonesTargetMessage data message's maxHeartRate field's current value.

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

◆ pwrCalcType()

PwrZoneCalc ZonesTargetMessage::pwrCalcType ( ) const

Returns the ZonesTargetMessage data message's pwrCalcType field's current value.

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

◆ setFunctionalThresholdPower()

void ZonesTargetMessage::setFunctionalThresholdPower ( const quint16  functionalThresholdPower)

Sets the functionalThresholdPower field to functionalThresholdPower.

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

◆ setHrCalcType()

void ZonesTargetMessage::setHrCalcType ( const HrZoneCalc  hrCalcType)

Sets the hrCalcType field to hrCalcType.

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

◆ setMaxHeartRate()

void ZonesTargetMessage::setMaxHeartRate ( const quint8  maxHeartRate)

Sets the maxHeartRate field to maxHeartRate.

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

◆ setPwrCalcType()

void ZonesTargetMessage::setPwrCalcType ( const PwrZoneCalc  pwrCalcType)

Sets the pwrCalcType field to pwrCalcType.

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

◆ setThresholdHeartRate()

void ZonesTargetMessage::setThresholdHeartRate ( const quint8  thresholdHeartRate)

Sets the thresholdHeartRate field to thresholdHeartRate.

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

◆ thresholdHeartRate()

quint8 ZonesTargetMessage::thresholdHeartRate ( ) const

Returns the ZonesTargetMessage data message's thresholdHeartRate field's current value.

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

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