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

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

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

Public Member Functions

 SdmProfileMessage ()
 Constructs a SdmProfileMessage object. More...
 
MessageIndex messageIndex () const
 Returns the SdmProfileMessage data message's messageIndex field's current value. More...
 
bool enabled () const
 Returns the SdmProfileMessage data message's enabled field's current value. More...
 
quint16z sdmAntId () const
 Returns the SdmProfileMessage data message's sdmAntId field's current value. More...
 
quint16 sdmCalFactor () const
 Returns the SdmProfileMessage data message's sdmCalFactor field's current value. More...
 
quint32 odometer () const
 Returns the SdmProfileMessage data message's odometer field's current value. More...
 
bool speedSource () const
 Returns the SdmProfileMessage data message's speedSource field's current value. More...
 
quint8z sdmAntIdTransType () const
 Returns the SdmProfileMessage data message's sdmAntIdTransType field's current value. More...
 
quint8 odometerRollover () const
 Returns the SdmProfileMessage data message's odometerRollover field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. More...
 
void setEnabled (const bool enabled)
 Sets the enabled field to enabled. More...
 
void setSdmAntId (const quint16z sdmAntId)
 Sets the sdmAntId field to sdmAntId. More...
 
void setSdmCalFactor (const quint16 sdmCalFactor)
 Sets the sdmCalFactor field to sdmCalFactor. More...
 
void setOdometer (const quint32 odometer)
 Sets the odometer field to odometer. More...
 
void setSpeedSource (const bool speedSource)
 Sets the speedSource field to speedSource. More...
 
void setSdmAntIdTransType (const quint8z sdmAntIdTransType)
 Sets the sdmAntIdTransType field to sdmAntIdTransType. More...
 
void setOdometerRollover (const quint8 odometerRollover)
 Sets the odometerRollover field to odometerRollover. 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 SdmProfileMessage class represents a FIT SdmProfileMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ SdmProfileMessage()

SdmProfileMessage::SdmProfileMessage ( )

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

◆ enabled()

bool SdmProfileMessage::enabled ( ) const

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

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

◆ messageIndex()

MessageIndex SdmProfileMessage::messageIndex ( ) const

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

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

◆ odometer()

quint32 SdmProfileMessage::odometer ( ) const

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

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

◆ odometerRollover()

quint8 SdmProfileMessage::odometerRollover ( ) const

Returns the SdmProfileMessage 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:

◆ sdmAntId()

quint16z SdmProfileMessage::sdmAntId ( ) const

Returns the SdmProfileMessage data message's sdmAntId field's current value.

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

◆ sdmAntIdTransType()

quint8z SdmProfileMessage::sdmAntIdTransType ( ) const

Returns the SdmProfileMessage data message's sdmAntIdTransType field's current value.

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

◆ sdmCalFactor()

quint16 SdmProfileMessage::sdmCalFactor ( ) const

Returns the SdmProfileMessage data message's sdmCalFactor field's current value.

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

◆ setEnabled()

void SdmProfileMessage::setEnabled ( const bool  enabled)

Sets the enabled field to enabled.

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

◆ setMessageIndex()

void SdmProfileMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

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

◆ setOdometer()

void SdmProfileMessage::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 SdmProfileMessage::setOdometerRollover ( const quint8  odometerRollover)

Sets the odometerRollover field to odometerRollover.

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

◆ setSdmAntId()

void SdmProfileMessage::setSdmAntId ( const quint16z  sdmAntId)

Sets the sdmAntId field to sdmAntId.

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

◆ setSdmAntIdTransType()

void SdmProfileMessage::setSdmAntIdTransType ( const quint8z  sdmAntIdTransType)

Sets the sdmAntIdTransType field to sdmAntIdTransType.

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

◆ setSdmCalFactor()

void SdmProfileMessage::setSdmCalFactor ( const quint16  sdmCalFactor)

Sets the sdmCalFactor field to sdmCalFactor.

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

◆ setSpeedSource()

void SdmProfileMessage::setSpeedSource ( const bool  speedSource)

Sets the speedSource field to speedSource.

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

◆ speedSource()

bool SdmProfileMessage::speedSource ( ) const

Returns the SdmProfileMessage data message's speedSource field's current value.

Use footpod for speed source instead of GPS

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

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