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

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

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

Public Member Functions

 JumpMessage ()
 Constructs a JumpMessage object. More...
 
DateTime timestamp () const
 Returns the JumpMessage data message's timestamp field's current value. More...
 
float distance () const
 Returns the JumpMessage data message's distance field's current value. More...
 
float height () const
 Returns the JumpMessage data message's height field's current value. More...
 
quint8 rotations () const
 Returns the JumpMessage data message's rotations field's current value. More...
 
float hangTime () const
 Returns the JumpMessage data message's hangTime field's current value. More...
 
float score () const
 Returns the JumpMessage data message's score field's current value. More...
 
qint32 positionLat () const
 Returns the JumpMessage data message's positionLat field's current value. More...
 
qint32 positionLong () const
 Returns the JumpMessage data message's positionLong field's current value. More...
 
quint16 speed () const
 Returns the JumpMessage data message's speed field's current value. More...
 
quint32 enhancedSpeed () const
 Returns the JumpMessage data message's enhancedSpeed field's current value. More...
 
void setTimestamp (const DateTime timestamp)
 Sets the timestamp field to timestamp. More...
 
void setDistance (const float distance)
 Sets the distance field to distance. More...
 
void setHeight (const float height)
 Sets the height field to height. More...
 
void setRotations (const quint8 rotations)
 Sets the rotations field to rotations. More...
 
void setHangTime (const float hangTime)
 Sets the hangTime field to hangTime. More...
 
void setScore (const float score)
 Sets the score field to score. 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 setSpeed (const quint16 speed)
 Sets the speed field to speed. More...
 
void setEnhancedSpeed (const quint32 enhancedSpeed)
 Sets the enhancedSpeed field to enhancedSpeed. 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 JumpMessage class represents a FIT JumpMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ JumpMessage()

JumpMessage::JumpMessage ( )

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

◆ distance()

float JumpMessage::distance ( ) const

Returns the JumpMessage data message's distance field's current value.

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

◆ enhancedSpeed()

quint32 JumpMessage::enhancedSpeed ( ) const

Returns the JumpMessage data message's enhancedSpeed field's current value.

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

◆ hangTime()

float JumpMessage::hangTime ( ) const

Returns the JumpMessage data message's hangTime field's current value.

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

◆ height()

float JumpMessage::height ( ) const

Returns the JumpMessage data message's height field's current value.

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

◆ positionLat()

qint32 JumpMessage::positionLat ( ) const

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

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

◆ positionLong()

qint32 JumpMessage::positionLong ( ) const

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

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

◆ rotations()

quint8 JumpMessage::rotations ( ) const

Returns the JumpMessage data message's rotations field's current value.

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

◆ score()

float JumpMessage::score ( ) const

Returns the JumpMessage data message's score field's current value.

A score for a jump calculated based on hang time, rotations, and distance.

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

◆ setDistance()

void JumpMessage::setDistance ( const float  distance)

Sets the distance field to distance.

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

◆ setEnhancedSpeed()

void JumpMessage::setEnhancedSpeed ( const quint32  enhancedSpeed)

Sets the enhancedSpeed field to enhancedSpeed.

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

◆ setHangTime()

void JumpMessage::setHangTime ( const float  hangTime)

Sets the hangTime field to hangTime.

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

◆ setHeight()

void JumpMessage::setHeight ( const float  height)

Sets the height field to height.

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

◆ setPositionLat()

void JumpMessage::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 JumpMessage::setPositionLong ( const qint32  positionLong)

Sets the positionLong field to positionLong.

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

◆ setRotations()

void JumpMessage::setRotations ( const quint8  rotations)

Sets the rotations field to rotations.

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

◆ setScore()

void JumpMessage::setScore ( const float  score)

Sets the score field to score.

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

◆ setSpeed()

void JumpMessage::setSpeed ( const quint16  speed)

Sets the speed field to speed.

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

◆ setTimestamp()

void JumpMessage::setTimestamp ( const DateTime  timestamp)

Sets the timestamp field to timestamp.

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

◆ speed()

quint16 JumpMessage::speed ( ) const

Returns the JumpMessage data message's speed field's current value.

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

◆ timestamp()

DateTime JumpMessage::timestamp ( ) const

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