QtFit
0.1
Native Qt library for Garmin FIT format
|
The BikeProfileMessage class represents a FIT BikeProfileMessage data message. More...
Public Member Functions | |
BikeProfileMessage () | |
Constructs a BikeProfileMessage object. More... | |
MessageIndex | messageIndex () const |
Returns the BikeProfileMessage data message's messageIndex field's current value. More... | |
QString | name () const |
Returns the BikeProfileMessage data message's name field's current value. More... | |
Sport | sport () const |
Returns the BikeProfileMessage data message's sport field's current value. More... | |
SubSport | subSport () const |
Returns the BikeProfileMessage data message's subSport field's current value. More... | |
quint32 | odometer () const |
Returns the BikeProfileMessage data message's odometer field's current value. More... | |
quint16z | bikeSpdAntId () const |
Returns the BikeProfileMessage data message's bikeSpdAntId field's current value. More... | |
quint16z | bikeCadAntId () const |
Returns the BikeProfileMessage data message's bikeCadAntId field's current value. More... | |
quint16z | bikeSpdcadAntId () const |
Returns the BikeProfileMessage data message's bikeSpdcadAntId field's current value. More... | |
quint16z | bikePowerAntId () const |
Returns the BikeProfileMessage data message's bikePowerAntId field's current value. More... | |
quint16 | customWheelsize () const |
Returns the BikeProfileMessage data message's customWheelsize field's current value. More... | |
quint16 | autoWheelsize () const |
Returns the BikeProfileMessage data message's autoWheelsize field's current value. More... | |
quint16 | bikeWeight () const |
Returns the BikeProfileMessage data message's bikeWeight field's current value. More... | |
quint16 | powerCalFactor () const |
Returns the BikeProfileMessage data message's powerCalFactor field's current value. More... | |
bool | autoWheelCal () const |
Returns the BikeProfileMessage data message's autoWheelCal field's current value. More... | |
bool | autoPowerZero () const |
Returns the BikeProfileMessage data message's autoPowerZero field's current value. More... | |
quint8 | id () const |
Returns the BikeProfileMessage data message's id field's current value. More... | |
bool | spdEnabled () const |
Returns the BikeProfileMessage data message's spdEnabled field's current value. More... | |
bool | cadEnabled () const |
Returns the BikeProfileMessage data message's cadEnabled field's current value. More... | |
bool | spdcadEnabled () const |
Returns the BikeProfileMessage data message's spdcadEnabled field's current value. More... | |
bool | powerEnabled () const |
Returns the BikeProfileMessage data message's powerEnabled field's current value. More... | |
quint8 | crankLength () const |
Returns the BikeProfileMessage data message's crankLength field's current value. More... | |
bool | enabled () const |
Returns the BikeProfileMessage data message's enabled field's current value. More... | |
quint8z | bikeSpdAntIdTransType () const |
Returns the BikeProfileMessage data message's bikeSpdAntIdTransType field's current value. More... | |
quint8z | bikeCadAntIdTransType () const |
Returns the BikeProfileMessage data message's bikeCadAntIdTransType field's current value. More... | |
quint8z | bikeSpdcadAntIdTransType () const |
Returns the BikeProfileMessage data message's bikeSpdcadAntIdTransType field's current value. More... | |
quint8z | bikePowerAntIdTransType () const |
Returns the BikeProfileMessage data message's bikePowerAntIdTransType field's current value. More... | |
quint8 | odometerRollover () const |
Returns the BikeProfileMessage data message's odometerRollover field's current value. More... | |
quint8z | frontGearNum () const |
Returns the BikeProfileMessage data message's frontGearNum field's current value. More... | |
quint8z | frontGear () const |
Returns the BikeProfileMessage data message's frontGear field's current value. More... | |
quint8z | rearGearNum () const |
Returns the BikeProfileMessage data message's rearGearNum field's current value. More... | |
quint8z | rearGear () const |
Returns the BikeProfileMessage data message's rearGear field's current value. More... | |
bool | shimanoDi2Enabled () const |
Returns the BikeProfileMessage data message's shimanoDi2Enabled field's current value. More... | |
void | setMessageIndex (const MessageIndex messageIndex) |
Sets the messageIndex field to messageIndex. More... | |
void | setName (const QString name) |
Sets the name field to name. More... | |
void | setSport (const Sport sport) |
Sets the sport field to sport. More... | |
void | setSubSport (const SubSport subSport) |
Sets the subSport field to subSport. More... | |
void | setOdometer (const quint32 odometer) |
Sets the odometer field to odometer. More... | |
void | setBikeSpdAntId (const quint16z bikeSpdAntId) |
Sets the bikeSpdAntId field to bikeSpdAntId. More... | |
void | setBikeCadAntId (const quint16z bikeCadAntId) |
Sets the bikeCadAntId field to bikeCadAntId. More... | |
void | setBikeSpdcadAntId (const quint16z bikeSpdcadAntId) |
Sets the bikeSpdcadAntId field to bikeSpdcadAntId. More... | |
void | setBikePowerAntId (const quint16z bikePowerAntId) |
Sets the bikePowerAntId field to bikePowerAntId. More... | |
void | setCustomWheelsize (const quint16 customWheelsize) |
Sets the customWheelsize field to customWheelsize. More... | |
void | setAutoWheelsize (const quint16 autoWheelsize) |
Sets the autoWheelsize field to autoWheelsize. More... | |
void | setBikeWeight (const quint16 bikeWeight) |
Sets the bikeWeight field to bikeWeight. More... | |
void | setPowerCalFactor (const quint16 powerCalFactor) |
Sets the powerCalFactor field to powerCalFactor. More... | |
void | setAutoWheelCal (const bool autoWheelCal) |
Sets the autoWheelCal field to autoWheelCal. More... | |
void | setAutoPowerZero (const bool autoPowerZero) |
Sets the autoPowerZero field to autoPowerZero. More... | |
void | setId (const quint8 id) |
Sets the id field to id. More... | |
void | setSpdEnabled (const bool spdEnabled) |
Sets the spdEnabled field to spdEnabled. More... | |
void | setCadEnabled (const bool cadEnabled) |
Sets the cadEnabled field to cadEnabled. More... | |
void | setSpdcadEnabled (const bool spdcadEnabled) |
Sets the spdcadEnabled field to spdcadEnabled. More... | |
void | setPowerEnabled (const bool powerEnabled) |
Sets the powerEnabled field to powerEnabled. More... | |
void | setCrankLength (const quint8 crankLength) |
Sets the crankLength field to crankLength. More... | |
void | setEnabled (const bool enabled) |
Sets the enabled field to enabled. More... | |
void | setBikeSpdAntIdTransType (const quint8z bikeSpdAntIdTransType) |
Sets the bikeSpdAntIdTransType field to bikeSpdAntIdTransType. More... | |
void | setBikeCadAntIdTransType (const quint8z bikeCadAntIdTransType) |
Sets the bikeCadAntIdTransType field to bikeCadAntIdTransType. More... | |
void | setBikeSpdcadAntIdTransType (const quint8z bikeSpdcadAntIdTransType) |
Sets the bikeSpdcadAntIdTransType field to bikeSpdcadAntIdTransType. More... | |
void | setBikePowerAntIdTransType (const quint8z bikePowerAntIdTransType) |
Sets the bikePowerAntIdTransType field to bikePowerAntIdTransType. More... | |
void | setOdometerRollover (const quint8 odometerRollover) |
Sets the odometerRollover field to odometerRollover. More... | |
void | setFrontGearNum (const quint8z frontGearNum) |
Sets the frontGearNum field to frontGearNum. More... | |
void | setFrontGear (const quint8z frontGear) |
Sets the frontGear field to frontGear. More... | |
void | setRearGearNum (const quint8z rearGearNum) |
Sets the rearGearNum field to rearGearNum. More... | |
void | setRearGear (const quint8z rearGear) |
Sets the rearGear field to rearGear. More... | |
void | setShimanoDi2Enabled (const bool shimanoDi2Enabled) |
Sets the shimanoDi2Enabled field to shimanoDi2Enabled. 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 BikeProfileMessage class represents a FIT BikeProfileMessage data message.
BikeProfileMessage::BikeProfileMessage | ( | ) |
Constructs a BikeProfileMessage 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.
bool BikeProfileMessage::autoPowerZero | ( | ) | const |
Returns the BikeProfileMessage data message's autoPowerZero
field's current value.
autoPowerZero
field value. bool BikeProfileMessage::autoWheelCal | ( | ) | const |
Returns the BikeProfileMessage data message's autoWheelCal
field's current value.
autoWheelCal
field value. quint16 BikeProfileMessage::autoWheelsize | ( | ) | const |
Returns the BikeProfileMessage data message's autoWheelsize
field's current value.
autoWheelsize
field value. quint16z BikeProfileMessage::bikeCadAntId | ( | ) | const |
Returns the BikeProfileMessage data message's bikeCadAntId
field's current value.
bikeCadAntId
field value. quint8z BikeProfileMessage::bikeCadAntIdTransType | ( | ) | const |
Returns the BikeProfileMessage data message's bikeCadAntIdTransType
field's current value.
bikeCadAntIdTransType
field value. quint16z BikeProfileMessage::bikePowerAntId | ( | ) | const |
Returns the BikeProfileMessage data message's bikePowerAntId
field's current value.
bikePowerAntId
field value. quint8z BikeProfileMessage::bikePowerAntIdTransType | ( | ) | const |
Returns the BikeProfileMessage data message's bikePowerAntIdTransType
field's current value.
bikePowerAntIdTransType
field value. quint16z BikeProfileMessage::bikeSpdAntId | ( | ) | const |
Returns the BikeProfileMessage data message's bikeSpdAntId
field's current value.
bikeSpdAntId
field value. quint8z BikeProfileMessage::bikeSpdAntIdTransType | ( | ) | const |
Returns the BikeProfileMessage data message's bikeSpdAntIdTransType
field's current value.
bikeSpdAntIdTransType
field value. quint16z BikeProfileMessage::bikeSpdcadAntId | ( | ) | const |
Returns the BikeProfileMessage data message's bikeSpdcadAntId
field's current value.
bikeSpdcadAntId
field value. quint8z BikeProfileMessage::bikeSpdcadAntIdTransType | ( | ) | const |
Returns the BikeProfileMessage data message's bikeSpdcadAntIdTransType
field's current value.
bikeSpdcadAntIdTransType
field value. quint16 BikeProfileMessage::bikeWeight | ( | ) | const |
Returns the BikeProfileMessage data message's bikeWeight
field's current value.
bikeWeight
field value. bool BikeProfileMessage::cadEnabled | ( | ) | const |
Returns the BikeProfileMessage data message's cadEnabled
field's current value.
cadEnabled
field value. quint8 BikeProfileMessage::crankLength | ( | ) | const |
Returns the BikeProfileMessage data message's crankLength
field's current value.
crankLength
field value. quint16 BikeProfileMessage::customWheelsize | ( | ) | const |
Returns the BikeProfileMessage data message's customWheelsize
field's current value.
customWheelsize
field value. bool BikeProfileMessage::enabled | ( | ) | const |
Returns the BikeProfileMessage data message's enabled
field's current value.
enabled
field value. quint8z BikeProfileMessage::frontGear | ( | ) | const |
Returns the BikeProfileMessage data message's frontGear
field's current value.
Number of teeth on each gear 0 is innermost
frontGear
field value. quint8z BikeProfileMessage::frontGearNum | ( | ) | const |
Returns the BikeProfileMessage data message's frontGearNum
field's current value.
Number of front gears
frontGearNum
field value. quint8 BikeProfileMessage::id | ( | ) | const |
Returns the BikeProfileMessage data message's id
field's current value.
id
field value. MessageIndex BikeProfileMessage::messageIndex | ( | ) | const |
Returns the BikeProfileMessage data message's messageIndex
field's current value.
messageIndex
field value. QString BikeProfileMessage::name | ( | ) | const |
Returns the BikeProfileMessage data message's name
field's current value.
name
field value. quint32 BikeProfileMessage::odometer | ( | ) | const |
Returns the BikeProfileMessage data message's odometer
field's current value.
odometer
field value. quint8 BikeProfileMessage::odometerRollover | ( | ) | const |
Returns the BikeProfileMessage data message's odometerRollover
field's current value.
Rollover counter that can be used to extend the odometer
odometerRollover
field value. quint16 BikeProfileMessage::powerCalFactor | ( | ) | const |
Returns the BikeProfileMessage data message's powerCalFactor
field's current value.
powerCalFactor
field value. bool BikeProfileMessage::powerEnabled | ( | ) | const |
Returns the BikeProfileMessage data message's powerEnabled
field's current value.
powerEnabled
field value. quint8z BikeProfileMessage::rearGear | ( | ) | const |
Returns the BikeProfileMessage data message's rearGear
field's current value.
Number of teeth on each gear 0 is innermost
rearGear
field value. quint8z BikeProfileMessage::rearGearNum | ( | ) | const |
Returns the BikeProfileMessage data message's rearGearNum
field's current value.
Number of rear gears
rearGearNum
field value. void BikeProfileMessage::setAutoPowerZero | ( | const bool | autoPowerZero | ) |
Sets the autoPowerZero
field to autoPowerZero.
autoPowerZero | The field value to set. |
void BikeProfileMessage::setAutoWheelCal | ( | const bool | autoWheelCal | ) |
Sets the autoWheelCal
field to autoWheelCal.
autoWheelCal | The field value to set. |
void BikeProfileMessage::setAutoWheelsize | ( | const quint16 | autoWheelsize | ) |
Sets the autoWheelsize
field to autoWheelsize.
autoWheelsize | The field value to set. |
void BikeProfileMessage::setBikeCadAntId | ( | const quint16z | bikeCadAntId | ) |
Sets the bikeCadAntId
field to bikeCadAntId.
bikeCadAntId | The field value to set. |
void BikeProfileMessage::setBikeCadAntIdTransType | ( | const quint8z | bikeCadAntIdTransType | ) |
Sets the bikeCadAntIdTransType
field to bikeCadAntIdTransType.
bikeCadAntIdTransType | The field value to set. |
void BikeProfileMessage::setBikePowerAntId | ( | const quint16z | bikePowerAntId | ) |
Sets the bikePowerAntId
field to bikePowerAntId.
bikePowerAntId | The field value to set. |
void BikeProfileMessage::setBikePowerAntIdTransType | ( | const quint8z | bikePowerAntIdTransType | ) |
Sets the bikePowerAntIdTransType
field to bikePowerAntIdTransType.
bikePowerAntIdTransType | The field value to set. |
void BikeProfileMessage::setBikeSpdAntId | ( | const quint16z | bikeSpdAntId | ) |
Sets the bikeSpdAntId
field to bikeSpdAntId.
bikeSpdAntId | The field value to set. |
void BikeProfileMessage::setBikeSpdAntIdTransType | ( | const quint8z | bikeSpdAntIdTransType | ) |
Sets the bikeSpdAntIdTransType
field to bikeSpdAntIdTransType.
bikeSpdAntIdTransType | The field value to set. |
void BikeProfileMessage::setBikeSpdcadAntId | ( | const quint16z | bikeSpdcadAntId | ) |
Sets the bikeSpdcadAntId
field to bikeSpdcadAntId.
bikeSpdcadAntId | The field value to set. |
void BikeProfileMessage::setBikeSpdcadAntIdTransType | ( | const quint8z | bikeSpdcadAntIdTransType | ) |
Sets the bikeSpdcadAntIdTransType
field to bikeSpdcadAntIdTransType.
bikeSpdcadAntIdTransType | The field value to set. |
void BikeProfileMessage::setBikeWeight | ( | const quint16 | bikeWeight | ) |
Sets the bikeWeight
field to bikeWeight.
bikeWeight | The field value to set. |
void BikeProfileMessage::setCadEnabled | ( | const bool | cadEnabled | ) |
Sets the cadEnabled
field to cadEnabled.
cadEnabled | The field value to set. |
void BikeProfileMessage::setCrankLength | ( | const quint8 | crankLength | ) |
Sets the crankLength
field to crankLength.
crankLength | The field value to set. |
void BikeProfileMessage::setCustomWheelsize | ( | const quint16 | customWheelsize | ) |
Sets the customWheelsize
field to customWheelsize.
customWheelsize | The field value to set. |
void BikeProfileMessage::setEnabled | ( | const bool | enabled | ) |
Sets the enabled
field to enabled.
enabled | The field value to set. |
void BikeProfileMessage::setFrontGear | ( | const quint8z | frontGear | ) |
Sets the frontGear
field to frontGear.
frontGear | The field value to set. |
void BikeProfileMessage::setFrontGearNum | ( | const quint8z | frontGearNum | ) |
Sets the frontGearNum
field to frontGearNum.
frontGearNum | The field value to set. |
void BikeProfileMessage::setId | ( | const quint8 | id | ) |
Sets the id
field to id.
id | The field value to set. |
void BikeProfileMessage::setMessageIndex | ( | const MessageIndex | messageIndex | ) |
Sets the messageIndex
field to messageIndex.
messageIndex | The field value to set. |
void BikeProfileMessage::setName | ( | const QString | name | ) |
Sets the name
field to name.
name | The field value to set. |
void BikeProfileMessage::setOdometer | ( | const quint32 | odometer | ) |
Sets the odometer
field to odometer.
odometer | The field value to set. |
void BikeProfileMessage::setOdometerRollover | ( | const quint8 | odometerRollover | ) |
Sets the odometerRollover
field to odometerRollover.
odometerRollover | The field value to set. |
void BikeProfileMessage::setPowerCalFactor | ( | const quint16 | powerCalFactor | ) |
Sets the powerCalFactor
field to powerCalFactor.
powerCalFactor | The field value to set. |
void BikeProfileMessage::setPowerEnabled | ( | const bool | powerEnabled | ) |
Sets the powerEnabled
field to powerEnabled.
powerEnabled | The field value to set. |
void BikeProfileMessage::setRearGear | ( | const quint8z | rearGear | ) |
Sets the rearGear
field to rearGear.
rearGear | The field value to set. |
void BikeProfileMessage::setRearGearNum | ( | const quint8z | rearGearNum | ) |
Sets the rearGearNum
field to rearGearNum.
rearGearNum | The field value to set. |
void BikeProfileMessage::setShimanoDi2Enabled | ( | const bool | shimanoDi2Enabled | ) |
Sets the shimanoDi2Enabled
field to shimanoDi2Enabled.
shimanoDi2Enabled | The field value to set. |
void BikeProfileMessage::setSpdcadEnabled | ( | const bool | spdcadEnabled | ) |
Sets the spdcadEnabled
field to spdcadEnabled.
spdcadEnabled | The field value to set. |
void BikeProfileMessage::setSpdEnabled | ( | const bool | spdEnabled | ) |
Sets the spdEnabled
field to spdEnabled.
spdEnabled | The field value to set. |
void BikeProfileMessage::setSport | ( | const Sport | sport | ) |
Sets the sport
field to sport.
sport | The field value to set. |
void BikeProfileMessage::setSubSport | ( | const SubSport | subSport | ) |
Sets the subSport
field to subSport.
subSport | The field value to set. |
bool BikeProfileMessage::shimanoDi2Enabled | ( | ) | const |
Returns the BikeProfileMessage data message's shimanoDi2Enabled
field's current value.
shimanoDi2Enabled
field value. bool BikeProfileMessage::spdcadEnabled | ( | ) | const |
Returns the BikeProfileMessage data message's spdcadEnabled
field's current value.
spdcadEnabled
field value. bool BikeProfileMessage::spdEnabled | ( | ) | const |
Returns the BikeProfileMessage data message's spdEnabled
field's current value.
spdEnabled
field value. Sport BikeProfileMessage::sport | ( | ) | const |
Returns the BikeProfileMessage data message's sport
field's current value.
sport
field value. SubSport BikeProfileMessage::subSport | ( | ) | const |
Returns the BikeProfileMessage data message's subSport
field's current value.
subSport
field value.