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

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

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

Public Member Functions

 ClimbProMessage ()
 Constructs a ClimbProMessage object. More...
 
DateTime timestamp () const
 Returns the ClimbProMessage data message's timestamp field's current value. More...
 
qint32 positionLat () const
 Returns the ClimbProMessage data message's positionLat field's current value. More...
 
qint32 positionLong () const
 Returns the ClimbProMessage data message's positionLong field's current value. More...
 
ClimbProEvent climbProEvent () const
 Returns the ClimbProMessage data message's climbProEvent field's current value. More...
 
quint16 climbNumber () const
 Returns the ClimbProMessage data message's climbNumber field's current value. More...
 
quint8 climbCategory () const
 Returns the ClimbProMessage data message's climbCategory field's current value. More...
 
float currentDist () const
 Returns the ClimbProMessage data message's currentDist field's current value. More...
 
void setTimestamp (const DateTime timestamp)
 Sets the timestamp field to timestamp. More...
 
void setPositionLat (const qint32 positionLat)
 Sets the positionLat field to positionLat. More...
 
void setPositionLong (const qint32 positionLong)
 Sets the positionLong field to positionLong. More...
 
void setClimbProEvent (const ClimbProEvent climbProEvent)
 Sets the climbProEvent field to climbProEvent. More...
 
void setClimbNumber (const quint16 climbNumber)
 Sets the climbNumber field to climbNumber. More...
 
void setClimbCategory (const quint8 climbCategory)
 Sets the climbCategory field to climbCategory. More...
 
void setCurrentDist (const float currentDist)
 Sets the currentDist field to currentDist. 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 ClimbProMessage class represents a FIT ClimbProMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ ClimbProMessage()

ClimbProMessage::ClimbProMessage ( )

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

◆ climbCategory()

quint8 ClimbProMessage::climbCategory ( ) const

Returns the ClimbProMessage data message's climbCategory field's current value.

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

◆ climbNumber()

quint16 ClimbProMessage::climbNumber ( ) const

Returns the ClimbProMessage data message's climbNumber field's current value.

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

◆ climbProEvent()

ClimbProEvent ClimbProMessage::climbProEvent ( ) const

Returns the ClimbProMessage data message's climbProEvent field's current value.

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

◆ currentDist()

float ClimbProMessage::currentDist ( ) const

Returns the ClimbProMessage data message's currentDist field's current value.

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

◆ positionLat()

qint32 ClimbProMessage::positionLat ( ) const

Returns the ClimbProMessage data message's positionLat field's current value.

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

◆ positionLong()

qint32 ClimbProMessage::positionLong ( ) const

Returns the ClimbProMessage data message's positionLong field's current value.

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

◆ setClimbCategory()

void ClimbProMessage::setClimbCategory ( const quint8  climbCategory)

Sets the climbCategory field to climbCategory.

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

◆ setClimbNumber()

void ClimbProMessage::setClimbNumber ( const quint16  climbNumber)

Sets the climbNumber field to climbNumber.

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

◆ setClimbProEvent()

void ClimbProMessage::setClimbProEvent ( const ClimbProEvent  climbProEvent)

Sets the climbProEvent field to climbProEvent.

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

◆ setCurrentDist()

void ClimbProMessage::setCurrentDist ( const float  currentDist)

Sets the currentDist field to currentDist.

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

◆ setPositionLat()

void ClimbProMessage::setPositionLat ( const qint32  positionLat)

Sets the positionLat field to positionLat.

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

◆ setPositionLong()

void ClimbProMessage::setPositionLong ( const qint32  positionLong)

Sets the positionLong field to positionLong.

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

◆ setTimestamp()

void ClimbProMessage::setTimestamp ( const DateTime  timestamp)

Sets the timestamp field to timestamp.

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

◆ timestamp()

DateTime ClimbProMessage::timestamp ( ) const

Returns the ClimbProMessage data message's timestamp field's current value.

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

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