QtFit  0.1
Internal library development documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros 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...
 

Protected Member Functions

 BikeProfileMessage (BikeProfileMessagePrivate *const d)
 
- Protected Member Functions inherited from AbstractDataMessage
 AbstractDataMessage (AbstractDataMessagePrivate *const d)
 

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...
 
- Protected Attributes inherited from AbstractDataMessage
AbstractDataMessagePrivate *const d_ptr
 Internal d-pointer.
 

Detailed Description

The BikeProfileMessage class represents a FIT BikeProfileMessage data message.

See also
DataMessage

Definition at line 39 of file bikeprofilemessage.h.

Constructor & Destructor Documentation

◆ BikeProfileMessage() [1/2]

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.

Definition at line 52 of file bikeprofilemessage.cpp.

53 {
54 
55 }
The AbstractDataMessage class is the polymorphic base class for all FIT Data Message classes.

◆ BikeProfileMessage() [2/2]

BikeProfileMessage::BikeProfileMessage ( BikeProfileMessagePrivate *const  d)
explicitprotected

Constructs a BikeProfileMessage object with private implementation d.

Parameters
dPointer to private implementation.

Definition at line 64 of file bikeprofilemessage.cpp.

65 {
66 
67 }

Member Function Documentation

◆ autoPowerZero()

bool BikeProfileMessage::autoPowerZero ( ) const

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

Returns
the autoPowerZero field value.

Definition at line 228 of file bikeprofilemessage.cpp.

229 {
230  Q_D(const BikeProfileMessage);
231  return d->autoPowerZero;
232 }
The BikeProfileMessage class represents a FIT BikeProfileMessage data message.

Referenced by setAutoPowerZero().

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.

Definition at line 217 of file bikeprofilemessage.cpp.

218 {
219  Q_D(const BikeProfileMessage);
220  return d->autoWheelCal;
221 }

Referenced by setAutoWheelCal().

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.

Definition at line 184 of file bikeprofilemessage.cpp.

185 {
186  Q_D(const BikeProfileMessage);
187  return d->autoWheelsize;
188 }

Referenced by setAutoWheelsize().

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.

Definition at line 140 of file bikeprofilemessage.cpp.

141 {
142  Q_D(const BikeProfileMessage);
143  return d->bikeCadAntId;
144 }

Referenced by setBikeCadAntId().

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.

Definition at line 327 of file bikeprofilemessage.cpp.

328 {
329  Q_D(const BikeProfileMessage);
330  return d->bikeCadAntIdTransType;
331 }

Referenced by setBikeCadAntIdTransType().

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.

Definition at line 162 of file bikeprofilemessage.cpp.

163 {
164  Q_D(const BikeProfileMessage);
165  return d->bikePowerAntId;
166 }

Referenced by setBikePowerAntId().

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.

Definition at line 349 of file bikeprofilemessage.cpp.

350 {
351  Q_D(const BikeProfileMessage);
352  return d->bikePowerAntIdTransType;
353 }

Referenced by setBikePowerAntIdTransType().

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.

Definition at line 129 of file bikeprofilemessage.cpp.

130 {
131  Q_D(const BikeProfileMessage);
132  return d->bikeSpdAntId;
133 }

Referenced by setBikeSpdAntId().

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.

Definition at line 316 of file bikeprofilemessage.cpp.

317 {
318  Q_D(const BikeProfileMessage);
319  return d->bikeSpdAntIdTransType;
320 }

Referenced by setBikeSpdAntIdTransType().

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.

Definition at line 151 of file bikeprofilemessage.cpp.

152 {
153  Q_D(const BikeProfileMessage);
154  return d->bikeSpdcadAntId;
155 }

Referenced by setBikeSpdcadAntId().

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.

Definition at line 338 of file bikeprofilemessage.cpp.

339 {
340  Q_D(const BikeProfileMessage);
341  return d->bikeSpdcadAntIdTransType;
342 }

Referenced by setBikeSpdcadAntIdTransType().

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.

Definition at line 195 of file bikeprofilemessage.cpp.

196 {
197  Q_D(const BikeProfileMessage);
198  return d->bikeWeight;
199 }

Referenced by setBikeWeight().

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.

Definition at line 261 of file bikeprofilemessage.cpp.

262 {
263  Q_D(const BikeProfileMessage);
264  return d->cadEnabled;
265 }

Referenced by setCadEnabled().

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.

Definition at line 294 of file bikeprofilemessage.cpp.

295 {
296  Q_D(const BikeProfileMessage);
297  return d->crankLength;
298 }

Referenced by setCrankLength().

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.

Definition at line 173 of file bikeprofilemessage.cpp.

174 {
175  Q_D(const BikeProfileMessage);
176  return d->customWheelsize;
177 }

Referenced by setCustomWheelsize().

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.

Definition at line 305 of file bikeprofilemessage.cpp.

306 {
307  Q_D(const BikeProfileMessage);
308  return d->enabled;
309 }

Referenced by setEnabled().

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.

Definition at line 388 of file bikeprofilemessage.cpp.

389 {
390  Q_D(const BikeProfileMessage);
391  return d->frontGear;
392 }

Referenced by setFrontGear().

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.

Definition at line 375 of file bikeprofilemessage.cpp.

376 {
377  Q_D(const BikeProfileMessage);
378  return d->frontGearNum;
379 }

Referenced by setFrontGearNum().

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.

Definition at line 239 of file bikeprofilemessage.cpp.

240 {
241  Q_D(const BikeProfileMessage);
242  return d->id;
243 }

Referenced by setId().

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.

Definition at line 74 of file bikeprofilemessage.cpp.

75 {
76  Q_D(const BikeProfileMessage);
77  return d->messageIndex;
78 }

Referenced by setMessageIndex().

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.

Definition at line 85 of file bikeprofilemessage.cpp.

86 {
87  Q_D(const BikeProfileMessage);
88  return d->name;
89 }

Referenced by setName().

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.

Definition at line 118 of file bikeprofilemessage.cpp.

119 {
120  Q_D(const BikeProfileMessage);
121  return d->odometer;
122 }

Referenced by setOdometer().

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.

Definition at line 362 of file bikeprofilemessage.cpp.

363 {
364  Q_D(const BikeProfileMessage);
365  return d->odometerRollover;
366 }

Referenced by setOdometerRollover().

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.

Definition at line 206 of file bikeprofilemessage.cpp.

207 {
208  Q_D(const BikeProfileMessage);
209  return d->powerCalFactor;
210 }

Referenced by setPowerCalFactor().

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.

Definition at line 283 of file bikeprofilemessage.cpp.

284 {
285  Q_D(const BikeProfileMessage);
286  return d->powerEnabled;
287 }

Referenced by setPowerEnabled().

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.

Definition at line 414 of file bikeprofilemessage.cpp.

415 {
416  Q_D(const BikeProfileMessage);
417  return d->rearGear;
418 }

Referenced by setRearGear().

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.

Definition at line 401 of file bikeprofilemessage.cpp.

402 {
403  Q_D(const BikeProfileMessage);
404  return d->rearGearNum;
405 }

Referenced by setRearGearNum().

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.

Definition at line 576 of file bikeprofilemessage.cpp.

577 {
578  Q_D(BikeProfileMessage);
579  d->autoPowerZero = autoPowerZero;
580 }
bool autoPowerZero() const
Returns the BikeProfileMessage data message's autoPowerZero field's current value.

References autoPowerZero().

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.

Definition at line 566 of file bikeprofilemessage.cpp.

567 {
568  Q_D(BikeProfileMessage);
569  d->autoWheelCal = autoWheelCal;
570 }
bool autoWheelCal() const
Returns the BikeProfileMessage data message's autoWheelCal field's current value.

References autoWheelCal().

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.

Definition at line 536 of file bikeprofilemessage.cpp.

537 {
538  Q_D(BikeProfileMessage);
539  d->autoWheelsize = autoWheelsize;
540 }
quint16 autoWheelsize() const
Returns the BikeProfileMessage data message's autoWheelsize field's current value.

References autoWheelsize().

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.

Definition at line 496 of file bikeprofilemessage.cpp.

497 {
498  Q_D(BikeProfileMessage);
499  d->bikeCadAntId = bikeCadAntId;
500 }
quint16z bikeCadAntId() const
Returns the BikeProfileMessage data message's bikeCadAntId field's current value.

References bikeCadAntId().

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.

Definition at line 666 of file bikeprofilemessage.cpp.

667 {
668  Q_D(BikeProfileMessage);
669  d->bikeCadAntIdTransType = bikeCadAntIdTransType;
670 }
quint8z bikeCadAntIdTransType() const
Returns the BikeProfileMessage data message's bikeCadAntIdTransType field's current value.

References bikeCadAntIdTransType().

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.

Definition at line 516 of file bikeprofilemessage.cpp.

517 {
518  Q_D(BikeProfileMessage);
519  d->bikePowerAntId = bikePowerAntId;
520 }
quint16z bikePowerAntId() const
Returns the BikeProfileMessage data message's bikePowerAntId field's current value.

References bikePowerAntId().

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.

Definition at line 686 of file bikeprofilemessage.cpp.

687 {
688  Q_D(BikeProfileMessage);
689  d->bikePowerAntIdTransType = bikePowerAntIdTransType;
690 }
quint8z bikePowerAntIdTransType() const
Returns the BikeProfileMessage data message's bikePowerAntIdTransType field's current value.

References bikePowerAntIdTransType().

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.

Definition at line 486 of file bikeprofilemessage.cpp.

487 {
488  Q_D(BikeProfileMessage);
489  d->bikeSpdAntId = bikeSpdAntId;
490 }
quint16z bikeSpdAntId() const
Returns the BikeProfileMessage data message's bikeSpdAntId field's current value.

References bikeSpdAntId().

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.

Definition at line 656 of file bikeprofilemessage.cpp.

657 {
658  Q_D(BikeProfileMessage);
659  d->bikeSpdAntIdTransType = bikeSpdAntIdTransType;
660 }
quint8z bikeSpdAntIdTransType() const
Returns the BikeProfileMessage data message's bikeSpdAntIdTransType field's current value.

References bikeSpdAntIdTransType().

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.

Definition at line 506 of file bikeprofilemessage.cpp.

507 {
508  Q_D(BikeProfileMessage);
509  d->bikeSpdcadAntId = bikeSpdcadAntId;
510 }
quint16z bikeSpdcadAntId() const
Returns the BikeProfileMessage data message's bikeSpdcadAntId field's current value.

References bikeSpdcadAntId().

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.

Definition at line 676 of file bikeprofilemessage.cpp.

677 {
678  Q_D(BikeProfileMessage);
679  d->bikeSpdcadAntIdTransType = bikeSpdcadAntIdTransType;
680 }
quint8z bikeSpdcadAntIdTransType() const
Returns the BikeProfileMessage data message's bikeSpdcadAntIdTransType field's current value.

References bikeSpdcadAntIdTransType().

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.

Definition at line 546 of file bikeprofilemessage.cpp.

547 {
548  Q_D(BikeProfileMessage);
549  d->bikeWeight = bikeWeight;
550 }
quint16 bikeWeight() const
Returns the BikeProfileMessage data message's bikeWeight field's current value.

References bikeWeight().

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.

Definition at line 606 of file bikeprofilemessage.cpp.

607 {
608  Q_D(BikeProfileMessage);
609  d->cadEnabled = cadEnabled;
610 }
bool cadEnabled() const
Returns the BikeProfileMessage data message's cadEnabled field's current value.

References cadEnabled().

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.

Definition at line 636 of file bikeprofilemessage.cpp.

637 {
638  Q_D(BikeProfileMessage);
639  d->crankLength = crankLength;
640 }
quint8 crankLength() const
Returns the BikeProfileMessage data message's crankLength field's current value.

References crankLength().

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.

Definition at line 526 of file bikeprofilemessage.cpp.

527 {
528  Q_D(BikeProfileMessage);
529  d->customWheelsize = customWheelsize;
530 }
quint16 customWheelsize() const
Returns the BikeProfileMessage data message's customWheelsize field's current value.

References customWheelsize().

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.

Definition at line 646 of file bikeprofilemessage.cpp.

647 {
648  Q_D(BikeProfileMessage);
649  d->enabled = enabled;
650 }
bool enabled() const
Returns the BikeProfileMessage data message's enabled field's current value.

References enabled().

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.

Definition at line 716 of file bikeprofilemessage.cpp.

717 {
718  Q_D(BikeProfileMessage);
719  d->frontGear = frontGear;
720 }
quint8z frontGear() const
Returns the BikeProfileMessage data message's frontGear field's current value.

References frontGear().

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.

Definition at line 706 of file bikeprofilemessage.cpp.

707 {
708  Q_D(BikeProfileMessage);
709  d->frontGearNum = frontGearNum;
710 }
quint8z frontGearNum() const
Returns the BikeProfileMessage data message's frontGearNum field's current value.

References frontGearNum().

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.

Definition at line 586 of file bikeprofilemessage.cpp.

587 {
588  Q_D(BikeProfileMessage);
589  d->id = id;
590 }
quint8 id() const
Returns the BikeProfileMessage data message's id field's current value.

References id().

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.

Definition at line 436 of file bikeprofilemessage.cpp.

437 {
438  Q_D(BikeProfileMessage);
439  d->messageIndex = messageIndex;
440 }
MessageIndex messageIndex() const
Returns the BikeProfileMessage data message's messageIndex field's current value.

References messageIndex().

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.

Definition at line 446 of file bikeprofilemessage.cpp.

447 {
448  Q_D(BikeProfileMessage);
449  d->name = name;
450 }
QString name() const
Returns the BikeProfileMessage data message's name field's current value.

References name().

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.

Definition at line 476 of file bikeprofilemessage.cpp.

477 {
478  Q_D(BikeProfileMessage);
479  d->odometer = odometer;
480 }
quint32 odometer() const
Returns the BikeProfileMessage data message's odometer field's current value.

References odometer().

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.

Definition at line 696 of file bikeprofilemessage.cpp.

697 {
698  Q_D(BikeProfileMessage);
699  d->odometerRollover = odometerRollover;
700 }
quint8 odometerRollover() const
Returns the BikeProfileMessage data message's odometerRollover field's current value.

References odometerRollover().

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.

Definition at line 556 of file bikeprofilemessage.cpp.

557 {
558  Q_D(BikeProfileMessage);
559  d->powerCalFactor = powerCalFactor;
560 }
quint16 powerCalFactor() const
Returns the BikeProfileMessage data message's powerCalFactor field's current value.

References powerCalFactor().

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.

Definition at line 626 of file bikeprofilemessage.cpp.

627 {
628  Q_D(BikeProfileMessage);
629  d->powerEnabled = powerEnabled;
630 }
bool powerEnabled() const
Returns the BikeProfileMessage data message's powerEnabled field's current value.

References powerEnabled().

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.

Definition at line 736 of file bikeprofilemessage.cpp.

737 {
738  Q_D(BikeProfileMessage);
739  d->rearGear = rearGear;
740 }
quint8z rearGear() const
Returns the BikeProfileMessage data message's rearGear field's current value.

References rearGear().

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.

Definition at line 726 of file bikeprofilemessage.cpp.

727 {
728  Q_D(BikeProfileMessage);
729  d->rearGearNum = rearGearNum;
730 }
quint8z rearGearNum() const
Returns the BikeProfileMessage data message's rearGearNum field's current value.

References rearGearNum().

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.

Definition at line 746 of file bikeprofilemessage.cpp.

747 {
748  Q_D(BikeProfileMessage);
749  d->shimanoDi2Enabled = shimanoDi2Enabled;
750 }
bool shimanoDi2Enabled() const
Returns the BikeProfileMessage data message's shimanoDi2Enabled field's current value.

References shimanoDi2Enabled().

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.

Definition at line 616 of file bikeprofilemessage.cpp.

617 {
618  Q_D(BikeProfileMessage);
619  d->spdcadEnabled = spdcadEnabled;
620 }
bool spdcadEnabled() const
Returns the BikeProfileMessage data message's spdcadEnabled field's current value.

References spdcadEnabled().

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.

Definition at line 596 of file bikeprofilemessage.cpp.

597 {
598  Q_D(BikeProfileMessage);
599  d->spdEnabled = spdEnabled;
600 }
bool spdEnabled() const
Returns the BikeProfileMessage data message's spdEnabled field's current value.

References spdEnabled().

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.

Definition at line 456 of file bikeprofilemessage.cpp.

457 {
458  Q_D(BikeProfileMessage);
459  d->sport = sport;
460 }
Sport sport() const
Returns the BikeProfileMessage data message's sport field's current value.

References sport().

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.

Definition at line 466 of file bikeprofilemessage.cpp.

467 {
468  Q_D(BikeProfileMessage);
469  d->subSport = subSport;
470 }
SubSport subSport() const
Returns the BikeProfileMessage data message's subSport field's current value.

References subSport().

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.

Definition at line 425 of file bikeprofilemessage.cpp.

426 {
427  Q_D(const BikeProfileMessage);
428  return d->shimanoDi2Enabled;
429 }

Referenced by setShimanoDi2Enabled().

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.

Definition at line 272 of file bikeprofilemessage.cpp.

273 {
274  Q_D(const BikeProfileMessage);
275  return d->spdcadEnabled;
276 }

Referenced by setSpdcadEnabled().

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.

Definition at line 250 of file bikeprofilemessage.cpp.

251 {
252  Q_D(const BikeProfileMessage);
253  return d->spdEnabled;
254 }

Referenced by setSpdEnabled().

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.

Definition at line 96 of file bikeprofilemessage.cpp.

97 {
98  Q_D(const BikeProfileMessage);
99  return d->sport;
100 }

Referenced by setSport().

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.

Definition at line 107 of file bikeprofilemessage.cpp.

108 {
109  Q_D(const BikeProfileMessage);
110  return d->subSport;
111 }

Referenced by setSubSport().

Here is the caller graph for this function:

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