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

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

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

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...
 
- 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 BikeProfileMessage class represents a FIT BikeProfileMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ BikeProfileMessage()

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.

Member Function Documentation

◆ autoPowerZero()

bool BikeProfileMessage::autoPowerZero ( ) const

Returns the BikeProfileMessage data message's autoPowerZero field's current value.

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

◆ autoWheelCal()

bool BikeProfileMessage::autoWheelCal ( ) const

Returns the BikeProfileMessage data message's autoWheelCal field's current value.

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

◆ autoWheelsize()

quint16 BikeProfileMessage::autoWheelsize ( ) const

Returns the BikeProfileMessage data message's autoWheelsize field's current value.

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

◆ bikeCadAntId()

quint16z BikeProfileMessage::bikeCadAntId ( ) const

Returns the BikeProfileMessage data message's bikeCadAntId field's current value.

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

◆ bikeCadAntIdTransType()

quint8z BikeProfileMessage::bikeCadAntIdTransType ( ) const

Returns the BikeProfileMessage data message's bikeCadAntIdTransType field's current value.

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

◆ bikePowerAntId()

quint16z BikeProfileMessage::bikePowerAntId ( ) const

Returns the BikeProfileMessage data message's bikePowerAntId field's current value.

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

◆ bikePowerAntIdTransType()

quint8z BikeProfileMessage::bikePowerAntIdTransType ( ) const

Returns the BikeProfileMessage data message's bikePowerAntIdTransType field's current value.

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

◆ bikeSpdAntId()

quint16z BikeProfileMessage::bikeSpdAntId ( ) const

Returns the BikeProfileMessage data message's bikeSpdAntId field's current value.

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

◆ bikeSpdAntIdTransType()

quint8z BikeProfileMessage::bikeSpdAntIdTransType ( ) const

Returns the BikeProfileMessage data message's bikeSpdAntIdTransType field's current value.

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

◆ bikeSpdcadAntId()

quint16z BikeProfileMessage::bikeSpdcadAntId ( ) const

Returns the BikeProfileMessage data message's bikeSpdcadAntId field's current value.

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

◆ bikeSpdcadAntIdTransType()

quint8z BikeProfileMessage::bikeSpdcadAntIdTransType ( ) const

Returns the BikeProfileMessage data message's bikeSpdcadAntIdTransType field's current value.

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

◆ bikeWeight()

quint16 BikeProfileMessage::bikeWeight ( ) const

Returns the BikeProfileMessage data message's bikeWeight field's current value.

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

◆ cadEnabled()

bool BikeProfileMessage::cadEnabled ( ) const

Returns the BikeProfileMessage data message's cadEnabled field's current value.

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

◆ crankLength()

quint8 BikeProfileMessage::crankLength ( ) const

Returns the BikeProfileMessage data message's crankLength field's current value.

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

◆ customWheelsize()

quint16 BikeProfileMessage::customWheelsize ( ) const

Returns the BikeProfileMessage data message's customWheelsize field's current value.

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

◆ enabled()

bool BikeProfileMessage::enabled ( ) const

Returns the BikeProfileMessage data message's enabled field's current value.

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

◆ frontGear()

quint8z BikeProfileMessage::frontGear ( ) const

Returns the BikeProfileMessage data message's frontGear field's current value.

Number of teeth on each gear 0 is innermost

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

◆ frontGearNum()

quint8z BikeProfileMessage::frontGearNum ( ) const

Returns the BikeProfileMessage data message's frontGearNum field's current value.

Number of front gears

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

◆ id()

quint8 BikeProfileMessage::id ( ) const

Returns the BikeProfileMessage data message's id field's current value.

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

◆ messageIndex()

MessageIndex BikeProfileMessage::messageIndex ( ) const

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

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

◆ name()

QString BikeProfileMessage::name ( ) const

Returns the BikeProfileMessage data message's name field's current value.

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

◆ odometer()

quint32 BikeProfileMessage::odometer ( ) const

Returns the BikeProfileMessage data message's odometer field's current value.

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

◆ odometerRollover()

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

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

◆ powerCalFactor()

quint16 BikeProfileMessage::powerCalFactor ( ) const

Returns the BikeProfileMessage data message's powerCalFactor field's current value.

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

◆ powerEnabled()

bool BikeProfileMessage::powerEnabled ( ) const

Returns the BikeProfileMessage data message's powerEnabled field's current value.

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

◆ rearGear()

quint8z BikeProfileMessage::rearGear ( ) const

Returns the BikeProfileMessage data message's rearGear field's current value.

Number of teeth on each gear 0 is innermost

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

◆ rearGearNum()

quint8z BikeProfileMessage::rearGearNum ( ) const

Returns the BikeProfileMessage data message's rearGearNum field's current value.

Number of rear gears

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

◆ setAutoPowerZero()

void BikeProfileMessage::setAutoPowerZero ( const bool  autoPowerZero)

Sets the autoPowerZero field to autoPowerZero.

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

◆ setAutoWheelCal()

void BikeProfileMessage::setAutoWheelCal ( const bool  autoWheelCal)

Sets the autoWheelCal field to autoWheelCal.

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

◆ setAutoWheelsize()

void BikeProfileMessage::setAutoWheelsize ( const quint16  autoWheelsize)

Sets the autoWheelsize field to autoWheelsize.

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

◆ setBikeCadAntId()

void BikeProfileMessage::setBikeCadAntId ( const quint16z  bikeCadAntId)

Sets the bikeCadAntId field to bikeCadAntId.

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

◆ setBikeCadAntIdTransType()

void BikeProfileMessage::setBikeCadAntIdTransType ( const quint8z  bikeCadAntIdTransType)

Sets the bikeCadAntIdTransType field to bikeCadAntIdTransType.

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

◆ setBikePowerAntId()

void BikeProfileMessage::setBikePowerAntId ( const quint16z  bikePowerAntId)

Sets the bikePowerAntId field to bikePowerAntId.

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

◆ setBikePowerAntIdTransType()

void BikeProfileMessage::setBikePowerAntIdTransType ( const quint8z  bikePowerAntIdTransType)

Sets the bikePowerAntIdTransType field to bikePowerAntIdTransType.

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

◆ setBikeSpdAntId()

void BikeProfileMessage::setBikeSpdAntId ( const quint16z  bikeSpdAntId)

Sets the bikeSpdAntId field to bikeSpdAntId.

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

◆ setBikeSpdAntIdTransType()

void BikeProfileMessage::setBikeSpdAntIdTransType ( const quint8z  bikeSpdAntIdTransType)

Sets the bikeSpdAntIdTransType field to bikeSpdAntIdTransType.

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

◆ setBikeSpdcadAntId()

void BikeProfileMessage::setBikeSpdcadAntId ( const quint16z  bikeSpdcadAntId)

Sets the bikeSpdcadAntId field to bikeSpdcadAntId.

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

◆ setBikeSpdcadAntIdTransType()

void BikeProfileMessage::setBikeSpdcadAntIdTransType ( const quint8z  bikeSpdcadAntIdTransType)

Sets the bikeSpdcadAntIdTransType field to bikeSpdcadAntIdTransType.

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

◆ setBikeWeight()

void BikeProfileMessage::setBikeWeight ( const quint16  bikeWeight)

Sets the bikeWeight field to bikeWeight.

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

◆ setCadEnabled()

void BikeProfileMessage::setCadEnabled ( const bool  cadEnabled)

Sets the cadEnabled field to cadEnabled.

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

◆ setCrankLength()

void BikeProfileMessage::setCrankLength ( const quint8  crankLength)

Sets the crankLength field to crankLength.

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

◆ setCustomWheelsize()

void BikeProfileMessage::setCustomWheelsize ( const quint16  customWheelsize)

Sets the customWheelsize field to customWheelsize.

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

◆ setEnabled()

void BikeProfileMessage::setEnabled ( const bool  enabled)

Sets the enabled field to enabled.

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

◆ setFrontGear()

void BikeProfileMessage::setFrontGear ( const quint8z  frontGear)

Sets the frontGear field to frontGear.

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

◆ setFrontGearNum()

void BikeProfileMessage::setFrontGearNum ( const quint8z  frontGearNum)

Sets the frontGearNum field to frontGearNum.

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

◆ setId()

void BikeProfileMessage::setId ( const quint8  id)

Sets the id field to id.

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

◆ setMessageIndex()

void BikeProfileMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

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

◆ setName()

void BikeProfileMessage::setName ( const QString  name)

Sets the name field to name.

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

◆ setOdometer()

void BikeProfileMessage::setOdometer ( const quint32  odometer)

Sets the odometer field to odometer.

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

◆ setOdometerRollover()

void BikeProfileMessage::setOdometerRollover ( const quint8  odometerRollover)

Sets the odometerRollover field to odometerRollover.

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

◆ setPowerCalFactor()

void BikeProfileMessage::setPowerCalFactor ( const quint16  powerCalFactor)

Sets the powerCalFactor field to powerCalFactor.

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

◆ setPowerEnabled()

void BikeProfileMessage::setPowerEnabled ( const bool  powerEnabled)

Sets the powerEnabled field to powerEnabled.

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

◆ setRearGear()

void BikeProfileMessage::setRearGear ( const quint8z  rearGear)

Sets the rearGear field to rearGear.

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

◆ setRearGearNum()

void BikeProfileMessage::setRearGearNum ( const quint8z  rearGearNum)

Sets the rearGearNum field to rearGearNum.

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

◆ setShimanoDi2Enabled()

void BikeProfileMessage::setShimanoDi2Enabled ( const bool  shimanoDi2Enabled)

Sets the shimanoDi2Enabled field to shimanoDi2Enabled.

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

◆ setSpdcadEnabled()

void BikeProfileMessage::setSpdcadEnabled ( const bool  spdcadEnabled)

Sets the spdcadEnabled field to spdcadEnabled.

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

◆ setSpdEnabled()

void BikeProfileMessage::setSpdEnabled ( const bool  spdEnabled)

Sets the spdEnabled field to spdEnabled.

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

◆ setSport()

void BikeProfileMessage::setSport ( const Sport  sport)

Sets the sport field to sport.

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

◆ setSubSport()

void BikeProfileMessage::setSubSport ( const SubSport  subSport)

Sets the subSport field to subSport.

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

◆ shimanoDi2Enabled()

bool BikeProfileMessage::shimanoDi2Enabled ( ) const

Returns the BikeProfileMessage data message's shimanoDi2Enabled field's current value.

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

◆ spdcadEnabled()

bool BikeProfileMessage::spdcadEnabled ( ) const

Returns the BikeProfileMessage data message's spdcadEnabled field's current value.

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

◆ spdEnabled()

bool BikeProfileMessage::spdEnabled ( ) const

Returns the BikeProfileMessage data message's spdEnabled field's current value.

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

◆ sport()

Sport BikeProfileMessage::sport ( ) const

Returns the BikeProfileMessage data message's sport field's current value.

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

◆ subSport()

SubSport BikeProfileMessage::subSport ( ) const

Returns the BikeProfileMessage data message's subSport field's current value.

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

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