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

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

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

Public Member Functions

 StressLevelMessage ()
 Constructs a StressLevelMessage object. More...
 
qint16 stressLevelValue () const
 Returns the StressLevelMessage data message's stressLevelValue field's current value. More...
 
DateTime stressLevelTime () const
 Returns the StressLevelMessage data message's stressLevelTime field's current value. More...
 
void setStressLevelValue (const qint16 stressLevelValue)
 Sets the stressLevelValue field to stressLevelValue. More...
 
void setStressLevelTime (const DateTime stressLevelTime)
 Sets the stressLevelTime field to stressLevelTime. 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 StressLevelMessage class represents a FIT StressLevelMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ StressLevelMessage()

StressLevelMessage::StressLevelMessage ( )

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

◆ setStressLevelTime()

void StressLevelMessage::setStressLevelTime ( const DateTime  stressLevelTime)

Sets the stressLevelTime field to stressLevelTime.

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

◆ setStressLevelValue()

void StressLevelMessage::setStressLevelValue ( const qint16  stressLevelValue)

Sets the stressLevelValue field to stressLevelValue.

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

◆ stressLevelTime()

DateTime StressLevelMessage::stressLevelTime ( ) const

Returns the StressLevelMessage data message's stressLevelTime field's current value.

Time stress score was calculated

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

◆ stressLevelValue()

qint16 StressLevelMessage::stressLevelValue ( ) const

Returns the StressLevelMessage data message's stressLevelValue field's current value.

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

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