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

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

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

Public Member Functions

 UserProfileMessage ()
 Constructs a UserProfileMessage object. More...
 
MessageIndex messageIndex () const
 Returns the UserProfileMessage data message's messageIndex field's current value. More...
 
QString friendlyName () const
 Returns the UserProfileMessage data message's friendlyName field's current value. More...
 
Gender gender () const
 Returns the UserProfileMessage data message's gender field's current value. More...
 
quint8 age () const
 Returns the UserProfileMessage data message's age field's current value. More...
 
quint8 height () const
 Returns the UserProfileMessage data message's height field's current value. More...
 
quint16 weight () const
 Returns the UserProfileMessage data message's weight field's current value. More...
 
Language language () const
 Returns the UserProfileMessage data message's language field's current value. More...
 
DisplayMeasure elevSetting () const
 Returns the UserProfileMessage data message's elevSetting field's current value. More...
 
DisplayMeasure weightSetting () const
 Returns the UserProfileMessage data message's weightSetting field's current value. More...
 
quint8 restingHeartRate () const
 Returns the UserProfileMessage data message's restingHeartRate field's current value. More...
 
quint8 defaultMaxRunningHeartRate () const
 Returns the UserProfileMessage data message's defaultMaxRunningHeartRate field's current value. More...
 
quint8 defaultMaxBikingHeartRate () const
 Returns the UserProfileMessage data message's defaultMaxBikingHeartRate field's current value. More...
 
quint8 defaultMaxHeartRate () const
 Returns the UserProfileMessage data message's defaultMaxHeartRate field's current value. More...
 
DisplayHeart hrSetting () const
 Returns the UserProfileMessage data message's hrSetting field's current value. More...
 
DisplayMeasure speedSetting () const
 Returns the UserProfileMessage data message's speedSetting field's current value. More...
 
DisplayMeasure distSetting () const
 Returns the UserProfileMessage data message's distSetting field's current value. More...
 
DisplayPower powerSetting () const
 Returns the UserProfileMessage data message's powerSetting field's current value. More...
 
ActivityClass activityClass () const
 Returns the UserProfileMessage data message's activityClass field's current value. More...
 
DisplayPosition positionSetting () const
 Returns the UserProfileMessage data message's positionSetting field's current value. More...
 
DisplayMeasure temperatureSetting () const
 Returns the UserProfileMessage data message's temperatureSetting field's current value. More...
 
UserLocalId localId () const
 Returns the UserProfileMessage data message's localId field's current value. More...
 
quint8 globalId () const
 Returns the UserProfileMessage data message's globalId field's current value. More...
 
LocaltimeIntoDay wakeTime () const
 Returns the UserProfileMessage data message's wakeTime field's current value. More...
 
LocaltimeIntoDay sleepTime () const
 Returns the UserProfileMessage data message's sleepTime field's current value. More...
 
DisplayMeasure heightSetting () const
 Returns the UserProfileMessage data message's heightSetting field's current value. More...
 
quint16 userRunningStepLength () const
 Returns the UserProfileMessage data message's userRunningStepLength field's current value. More...
 
quint16 userWalkingStepLength () const
 Returns the UserProfileMessage data message's userWalkingStepLength field's current value. More...
 
DisplayMeasure depthSetting () const
 Returns the UserProfileMessage data message's depthSetting field's current value. More...
 
quint32 diveCount () const
 Returns the UserProfileMessage data message's diveCount field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. More...
 
void setFriendlyName (const QString friendlyName)
 Sets the friendlyName field to friendlyName. More...
 
void setGender (const Gender gender)
 Sets the gender field to gender. More...
 
void setAge (const quint8 age)
 Sets the age field to age. More...
 
void setHeight (const quint8 height)
 Sets the height field to height. More...
 
void setWeight (const quint16 weight)
 Sets the weight field to weight. More...
 
void setLanguage (const Language language)
 Sets the language field to language. More...
 
void setElevSetting (const DisplayMeasure elevSetting)
 Sets the elevSetting field to elevSetting. More...
 
void setWeightSetting (const DisplayMeasure weightSetting)
 Sets the weightSetting field to weightSetting. More...
 
void setRestingHeartRate (const quint8 restingHeartRate)
 Sets the restingHeartRate field to restingHeartRate. More...
 
void setDefaultMaxRunningHeartRate (const quint8 defaultMaxRunningHeartRate)
 Sets the defaultMaxRunningHeartRate field to defaultMaxRunningHeartRate. More...
 
void setDefaultMaxBikingHeartRate (const quint8 defaultMaxBikingHeartRate)
 Sets the defaultMaxBikingHeartRate field to defaultMaxBikingHeartRate. More...
 
void setDefaultMaxHeartRate (const quint8 defaultMaxHeartRate)
 Sets the defaultMaxHeartRate field to defaultMaxHeartRate. More...
 
void setHrSetting (const DisplayHeart hrSetting)
 Sets the hrSetting field to hrSetting. More...
 
void setSpeedSetting (const DisplayMeasure speedSetting)
 Sets the speedSetting field to speedSetting. More...
 
void setDistSetting (const DisplayMeasure distSetting)
 Sets the distSetting field to distSetting. More...
 
void setPowerSetting (const DisplayPower powerSetting)
 Sets the powerSetting field to powerSetting. More...
 
void setActivityClass (const ActivityClass activityClass)
 Sets the activityClass field to activityClass. More...
 
void setPositionSetting (const DisplayPosition positionSetting)
 Sets the positionSetting field to positionSetting. More...
 
void setTemperatureSetting (const DisplayMeasure temperatureSetting)
 Sets the temperatureSetting field to temperatureSetting. More...
 
void setLocalId (const UserLocalId localId)
 Sets the localId field to localId. More...
 
void setGlobalId (const quint8 globalId)
 Sets the globalId field to globalId. More...
 
void setWakeTime (const LocaltimeIntoDay wakeTime)
 Sets the wakeTime field to wakeTime. More...
 
void setSleepTime (const LocaltimeIntoDay sleepTime)
 Sets the sleepTime field to sleepTime. More...
 
void setHeightSetting (const DisplayMeasure heightSetting)
 Sets the heightSetting field to heightSetting. More...
 
void setUserRunningStepLength (const quint16 userRunningStepLength)
 Sets the userRunningStepLength field to userRunningStepLength. More...
 
void setUserWalkingStepLength (const quint16 userWalkingStepLength)
 Sets the userWalkingStepLength field to userWalkingStepLength. More...
 
void setDepthSetting (const DisplayMeasure depthSetting)
 Sets the depthSetting field to depthSetting. More...
 
void setDiveCount (const quint32 diveCount)
 Sets the diveCount field to diveCount. 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 UserProfileMessage class represents a FIT UserProfileMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ UserProfileMessage()

UserProfileMessage::UserProfileMessage ( )

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

◆ activityClass()

ActivityClass UserProfileMessage::activityClass ( ) const

Returns the UserProfileMessage data message's activityClass field's current value.

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

◆ age()

quint8 UserProfileMessage::age ( ) const

Returns the UserProfileMessage data message's age field's current value.

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

◆ defaultMaxBikingHeartRate()

quint8 UserProfileMessage::defaultMaxBikingHeartRate ( ) const

Returns the UserProfileMessage data message's defaultMaxBikingHeartRate field's current value.

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

◆ defaultMaxHeartRate()

quint8 UserProfileMessage::defaultMaxHeartRate ( ) const

Returns the UserProfileMessage data message's defaultMaxHeartRate field's current value.

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

◆ defaultMaxRunningHeartRate()

quint8 UserProfileMessage::defaultMaxRunningHeartRate ( ) const

Returns the UserProfileMessage data message's defaultMaxRunningHeartRate field's current value.

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

◆ depthSetting()

DisplayMeasure UserProfileMessage::depthSetting ( ) const

Returns the UserProfileMessage data message's depthSetting field's current value.

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

◆ distSetting()

DisplayMeasure UserProfileMessage::distSetting ( ) const

Returns the UserProfileMessage data message's distSetting field's current value.

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

◆ diveCount()

quint32 UserProfileMessage::diveCount ( ) const

Returns the UserProfileMessage data message's diveCount field's current value.

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

◆ elevSetting()

DisplayMeasure UserProfileMessage::elevSetting ( ) const

Returns the UserProfileMessage data message's elevSetting field's current value.

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

◆ friendlyName()

QString UserProfileMessage::friendlyName ( ) const

Returns the UserProfileMessage data message's friendlyName field's current value.

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

◆ gender()

Gender UserProfileMessage::gender ( ) const

Returns the UserProfileMessage data message's gender field's current value.

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

◆ globalId()

quint8 UserProfileMessage::globalId ( ) const

Returns the UserProfileMessage data message's globalId field's current value.

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

◆ height()

quint8 UserProfileMessage::height ( ) const

Returns the UserProfileMessage data message's height field's current value.

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

◆ heightSetting()

DisplayMeasure UserProfileMessage::heightSetting ( ) const

Returns the UserProfileMessage data message's heightSetting field's current value.

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

◆ hrSetting()

DisplayHeart UserProfileMessage::hrSetting ( ) const

Returns the UserProfileMessage data message's hrSetting field's current value.

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

◆ language()

Language UserProfileMessage::language ( ) const

Returns the UserProfileMessage data message's language field's current value.

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

◆ localId()

UserLocalId UserProfileMessage::localId ( ) const

Returns the UserProfileMessage data message's localId field's current value.

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

◆ messageIndex()

MessageIndex UserProfileMessage::messageIndex ( ) const

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

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

◆ positionSetting()

DisplayPosition UserProfileMessage::positionSetting ( ) const

Returns the UserProfileMessage data message's positionSetting field's current value.

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

◆ powerSetting()

DisplayPower UserProfileMessage::powerSetting ( ) const

Returns the UserProfileMessage data message's powerSetting field's current value.

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

◆ restingHeartRate()

quint8 UserProfileMessage::restingHeartRate ( ) const

Returns the UserProfileMessage data message's restingHeartRate field's current value.

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

◆ setActivityClass()

void UserProfileMessage::setActivityClass ( const ActivityClass  activityClass)

Sets the activityClass field to activityClass.

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

◆ setAge()

void UserProfileMessage::setAge ( const quint8  age)

Sets the age field to age.

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

◆ setDefaultMaxBikingHeartRate()

void UserProfileMessage::setDefaultMaxBikingHeartRate ( const quint8  defaultMaxBikingHeartRate)

Sets the defaultMaxBikingHeartRate field to defaultMaxBikingHeartRate.

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

◆ setDefaultMaxHeartRate()

void UserProfileMessage::setDefaultMaxHeartRate ( const quint8  defaultMaxHeartRate)

Sets the defaultMaxHeartRate field to defaultMaxHeartRate.

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

◆ setDefaultMaxRunningHeartRate()

void UserProfileMessage::setDefaultMaxRunningHeartRate ( const quint8  defaultMaxRunningHeartRate)

Sets the defaultMaxRunningHeartRate field to defaultMaxRunningHeartRate.

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

◆ setDepthSetting()

void UserProfileMessage::setDepthSetting ( const DisplayMeasure  depthSetting)

Sets the depthSetting field to depthSetting.

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

◆ setDistSetting()

void UserProfileMessage::setDistSetting ( const DisplayMeasure  distSetting)

Sets the distSetting field to distSetting.

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

◆ setDiveCount()

void UserProfileMessage::setDiveCount ( const quint32  diveCount)

Sets the diveCount field to diveCount.

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

◆ setElevSetting()

void UserProfileMessage::setElevSetting ( const DisplayMeasure  elevSetting)

Sets the elevSetting field to elevSetting.

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

◆ setFriendlyName()

void UserProfileMessage::setFriendlyName ( const QString  friendlyName)

Sets the friendlyName field to friendlyName.

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

◆ setGender()

void UserProfileMessage::setGender ( const Gender  gender)

Sets the gender field to gender.

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

◆ setGlobalId()

void UserProfileMessage::setGlobalId ( const quint8  globalId)

Sets the globalId field to globalId.

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

◆ setHeight()

void UserProfileMessage::setHeight ( const quint8  height)

Sets the height field to height.

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

◆ setHeightSetting()

void UserProfileMessage::setHeightSetting ( const DisplayMeasure  heightSetting)

Sets the heightSetting field to heightSetting.

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

◆ setHrSetting()

void UserProfileMessage::setHrSetting ( const DisplayHeart  hrSetting)

Sets the hrSetting field to hrSetting.

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

◆ setLanguage()

void UserProfileMessage::setLanguage ( const Language  language)

Sets the language field to language.

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

◆ setLocalId()

void UserProfileMessage::setLocalId ( const UserLocalId  localId)

Sets the localId field to localId.

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

◆ setMessageIndex()

void UserProfileMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

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

◆ setPositionSetting()

void UserProfileMessage::setPositionSetting ( const DisplayPosition  positionSetting)

Sets the positionSetting field to positionSetting.

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

◆ setPowerSetting()

void UserProfileMessage::setPowerSetting ( const DisplayPower  powerSetting)

Sets the powerSetting field to powerSetting.

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

◆ setRestingHeartRate()

void UserProfileMessage::setRestingHeartRate ( const quint8  restingHeartRate)

Sets the restingHeartRate field to restingHeartRate.

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

◆ setSleepTime()

void UserProfileMessage::setSleepTime ( const LocaltimeIntoDay  sleepTime)

Sets the sleepTime field to sleepTime.

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

◆ setSpeedSetting()

void UserProfileMessage::setSpeedSetting ( const DisplayMeasure  speedSetting)

Sets the speedSetting field to speedSetting.

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

◆ setTemperatureSetting()

void UserProfileMessage::setTemperatureSetting ( const DisplayMeasure  temperatureSetting)

Sets the temperatureSetting field to temperatureSetting.

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

◆ setUserRunningStepLength()

void UserProfileMessage::setUserRunningStepLength ( const quint16  userRunningStepLength)

Sets the userRunningStepLength field to userRunningStepLength.

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

◆ setUserWalkingStepLength()

void UserProfileMessage::setUserWalkingStepLength ( const quint16  userWalkingStepLength)

Sets the userWalkingStepLength field to userWalkingStepLength.

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

◆ setWakeTime()

void UserProfileMessage::setWakeTime ( const LocaltimeIntoDay  wakeTime)

Sets the wakeTime field to wakeTime.

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

◆ setWeight()

void UserProfileMessage::setWeight ( const quint16  weight)

Sets the weight field to weight.

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

◆ setWeightSetting()

void UserProfileMessage::setWeightSetting ( const DisplayMeasure  weightSetting)

Sets the weightSetting field to weightSetting.

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

◆ sleepTime()

LocaltimeIntoDay UserProfileMessage::sleepTime ( ) const

Returns the UserProfileMessage data message's sleepTime field's current value.

Typical bed time

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

◆ speedSetting()

DisplayMeasure UserProfileMessage::speedSetting ( ) const

Returns the UserProfileMessage data message's speedSetting field's current value.

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

◆ temperatureSetting()

DisplayMeasure UserProfileMessage::temperatureSetting ( ) const

Returns the UserProfileMessage data message's temperatureSetting field's current value.

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

◆ userRunningStepLength()

quint16 UserProfileMessage::userRunningStepLength ( ) const

Returns the UserProfileMessage data message's userRunningStepLength field's current value.

User defined running step length set to 0 for auto length

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

◆ userWalkingStepLength()

quint16 UserProfileMessage::userWalkingStepLength ( ) const

Returns the UserProfileMessage data message's userWalkingStepLength field's current value.

User defined walking step length set to 0 for auto length

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

◆ wakeTime()

LocaltimeIntoDay UserProfileMessage::wakeTime ( ) const

Returns the UserProfileMessage data message's wakeTime field's current value.

Typical wake time

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

◆ weight()

quint16 UserProfileMessage::weight ( ) const

Returns the UserProfileMessage data message's weight field's current value.

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

◆ weightSetting()

DisplayMeasure UserProfileMessage::weightSetting ( ) const

Returns the UserProfileMessage data message's weightSetting field's current value.

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

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