QtFit
0.1
Native Qt library for Garmin FIT format
|
The UserProfileMessage class represents a FIT UserProfileMessage data message. More...
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... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Additional Inherited Members | |
![]() | |
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
The UserProfileMessage class represents a FIT UserProfileMessage data message.
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.
ActivityClass UserProfileMessage::activityClass | ( | ) | const |
Returns the UserProfileMessage data message's activityClass
field's current value.
activityClass
field value. quint8 UserProfileMessage::age | ( | ) | const |
Returns the UserProfileMessage data message's age
field's current value.
age
field value. quint8 UserProfileMessage::defaultMaxBikingHeartRate | ( | ) | const |
Returns the UserProfileMessage data message's defaultMaxBikingHeartRate
field's current value.
defaultMaxBikingHeartRate
field value. quint8 UserProfileMessage::defaultMaxHeartRate | ( | ) | const |
Returns the UserProfileMessage data message's defaultMaxHeartRate
field's current value.
defaultMaxHeartRate
field value. quint8 UserProfileMessage::defaultMaxRunningHeartRate | ( | ) | const |
Returns the UserProfileMessage data message's defaultMaxRunningHeartRate
field's current value.
defaultMaxRunningHeartRate
field value. DisplayMeasure UserProfileMessage::depthSetting | ( | ) | const |
Returns the UserProfileMessage data message's depthSetting
field's current value.
depthSetting
field value. DisplayMeasure UserProfileMessage::distSetting | ( | ) | const |
Returns the UserProfileMessage data message's distSetting
field's current value.
distSetting
field value. quint32 UserProfileMessage::diveCount | ( | ) | const |
Returns the UserProfileMessage data message's diveCount
field's current value.
diveCount
field value. DisplayMeasure UserProfileMessage::elevSetting | ( | ) | const |
Returns the UserProfileMessage data message's elevSetting
field's current value.
elevSetting
field value. QString UserProfileMessage::friendlyName | ( | ) | const |
Returns the UserProfileMessage data message's friendlyName
field's current value.
friendlyName
field value. Gender UserProfileMessage::gender | ( | ) | const |
Returns the UserProfileMessage data message's gender
field's current value.
gender
field value. quint8 UserProfileMessage::globalId | ( | ) | const |
Returns the UserProfileMessage data message's globalId
field's current value.
globalId
field value. quint8 UserProfileMessage::height | ( | ) | const |
Returns the UserProfileMessage data message's height
field's current value.
height
field value. DisplayMeasure UserProfileMessage::heightSetting | ( | ) | const |
Returns the UserProfileMessage data message's heightSetting
field's current value.
heightSetting
field value. DisplayHeart UserProfileMessage::hrSetting | ( | ) | const |
Returns the UserProfileMessage data message's hrSetting
field's current value.
hrSetting
field value. Language UserProfileMessage::language | ( | ) | const |
Returns the UserProfileMessage data message's language
field's current value.
language
field value. UserLocalId UserProfileMessage::localId | ( | ) | const |
Returns the UserProfileMessage data message's localId
field's current value.
localId
field value. MessageIndex UserProfileMessage::messageIndex | ( | ) | const |
Returns the UserProfileMessage data message's messageIndex
field's current value.
messageIndex
field value. DisplayPosition UserProfileMessage::positionSetting | ( | ) | const |
Returns the UserProfileMessage data message's positionSetting
field's current value.
positionSetting
field value. DisplayPower UserProfileMessage::powerSetting | ( | ) | const |
Returns the UserProfileMessage data message's powerSetting
field's current value.
powerSetting
field value. quint8 UserProfileMessage::restingHeartRate | ( | ) | const |
Returns the UserProfileMessage data message's restingHeartRate
field's current value.
restingHeartRate
field value. void UserProfileMessage::setActivityClass | ( | const ActivityClass | activityClass | ) |
Sets the activityClass
field to activityClass.
activityClass | The field value to set. |
void UserProfileMessage::setAge | ( | const quint8 | age | ) |
Sets the age
field to age.
age | The field value to set. |
void UserProfileMessage::setDefaultMaxBikingHeartRate | ( | const quint8 | defaultMaxBikingHeartRate | ) |
Sets the defaultMaxBikingHeartRate
field to defaultMaxBikingHeartRate.
defaultMaxBikingHeartRate | The field value to set. |
void UserProfileMessage::setDefaultMaxHeartRate | ( | const quint8 | defaultMaxHeartRate | ) |
Sets the defaultMaxHeartRate
field to defaultMaxHeartRate.
defaultMaxHeartRate | The field value to set. |
void UserProfileMessage::setDefaultMaxRunningHeartRate | ( | const quint8 | defaultMaxRunningHeartRate | ) |
Sets the defaultMaxRunningHeartRate
field to defaultMaxRunningHeartRate.
defaultMaxRunningHeartRate | The field value to set. |
void UserProfileMessage::setDepthSetting | ( | const DisplayMeasure | depthSetting | ) |
Sets the depthSetting
field to depthSetting.
depthSetting | The field value to set. |
void UserProfileMessage::setDistSetting | ( | const DisplayMeasure | distSetting | ) |
Sets the distSetting
field to distSetting.
distSetting | The field value to set. |
void UserProfileMessage::setDiveCount | ( | const quint32 | diveCount | ) |
Sets the diveCount
field to diveCount.
diveCount | The field value to set. |
void UserProfileMessage::setElevSetting | ( | const DisplayMeasure | elevSetting | ) |
Sets the elevSetting
field to elevSetting.
elevSetting | The field value to set. |
void UserProfileMessage::setFriendlyName | ( | const QString | friendlyName | ) |
Sets the friendlyName
field to friendlyName.
friendlyName | The field value to set. |
void UserProfileMessage::setGender | ( | const Gender | gender | ) |
Sets the gender
field to gender.
gender | The field value to set. |
void UserProfileMessage::setGlobalId | ( | const quint8 | globalId | ) |
Sets the globalId
field to globalId.
globalId | The field value to set. |
void UserProfileMessage::setHeight | ( | const quint8 | height | ) |
Sets the height
field to height.
height | The field value to set. |
void UserProfileMessage::setHeightSetting | ( | const DisplayMeasure | heightSetting | ) |
Sets the heightSetting
field to heightSetting.
heightSetting | The field value to set. |
void UserProfileMessage::setHrSetting | ( | const DisplayHeart | hrSetting | ) |
Sets the hrSetting
field to hrSetting.
hrSetting | The field value to set. |
void UserProfileMessage::setLanguage | ( | const Language | language | ) |
Sets the language
field to language.
language | The field value to set. |
void UserProfileMessage::setLocalId | ( | const UserLocalId | localId | ) |
Sets the localId
field to localId.
localId | The field value to set. |
void UserProfileMessage::setMessageIndex | ( | const MessageIndex | messageIndex | ) |
Sets the messageIndex
field to messageIndex.
messageIndex | The field value to set. |
void UserProfileMessage::setPositionSetting | ( | const DisplayPosition | positionSetting | ) |
Sets the positionSetting
field to positionSetting.
positionSetting | The field value to set. |
void UserProfileMessage::setPowerSetting | ( | const DisplayPower | powerSetting | ) |
Sets the powerSetting
field to powerSetting.
powerSetting | The field value to set. |
void UserProfileMessage::setRestingHeartRate | ( | const quint8 | restingHeartRate | ) |
Sets the restingHeartRate
field to restingHeartRate.
restingHeartRate | The field value to set. |
void UserProfileMessage::setSleepTime | ( | const LocaltimeIntoDay | sleepTime | ) |
Sets the sleepTime
field to sleepTime.
sleepTime | The field value to set. |
void UserProfileMessage::setSpeedSetting | ( | const DisplayMeasure | speedSetting | ) |
Sets the speedSetting
field to speedSetting.
speedSetting | The field value to set. |
void UserProfileMessage::setTemperatureSetting | ( | const DisplayMeasure | temperatureSetting | ) |
Sets the temperatureSetting
field to temperatureSetting.
temperatureSetting | The field value to set. |
void UserProfileMessage::setUserRunningStepLength | ( | const quint16 | userRunningStepLength | ) |
Sets the userRunningStepLength
field to userRunningStepLength.
userRunningStepLength | The field value to set. |
void UserProfileMessage::setUserWalkingStepLength | ( | const quint16 | userWalkingStepLength | ) |
Sets the userWalkingStepLength
field to userWalkingStepLength.
userWalkingStepLength | The field value to set. |
void UserProfileMessage::setWakeTime | ( | const LocaltimeIntoDay | wakeTime | ) |
Sets the wakeTime
field to wakeTime.
wakeTime | The field value to set. |
void UserProfileMessage::setWeight | ( | const quint16 | weight | ) |
Sets the weight
field to weight.
weight | The field value to set. |
void UserProfileMessage::setWeightSetting | ( | const DisplayMeasure | weightSetting | ) |
Sets the weightSetting
field to weightSetting.
weightSetting | The field value to set. |
LocaltimeIntoDay UserProfileMessage::sleepTime | ( | ) | const |
Returns the UserProfileMessage data message's sleepTime
field's current value.
Typical bed time
sleepTime
field value. DisplayMeasure UserProfileMessage::speedSetting | ( | ) | const |
Returns the UserProfileMessage data message's speedSetting
field's current value.
speedSetting
field value. DisplayMeasure UserProfileMessage::temperatureSetting | ( | ) | const |
Returns the UserProfileMessage data message's temperatureSetting
field's current value.
temperatureSetting
field value. 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
userRunningStepLength
field value. 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
userWalkingStepLength
field value. LocaltimeIntoDay UserProfileMessage::wakeTime | ( | ) | const |
Returns the UserProfileMessage data message's wakeTime
field's current value.
Typical wake time
wakeTime
field value. quint16 UserProfileMessage::weight | ( | ) | const |
Returns the UserProfileMessage data message's weight
field's current value.
weight
field value. DisplayMeasure UserProfileMessage::weightSetting | ( | ) | const |
Returns the UserProfileMessage data message's weightSetting
field's current value.
weightSetting
field value.