The JumpMessage class represents a FIT JumpMessage data message.
More...
|
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
|
|
The JumpMessage class represents a FIT JumpMessage data message.
- See also
- DataMessage
◆ 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.
◆ distance()
float JumpMessage::distance |
( |
| ) |
const |
Returns the JumpMessage data message's distance
field's current value.
- Returns
- the
distance
field value.
◆ enhancedSpeed()
quint32 JumpMessage::enhancedSpeed |
( |
| ) |
const |
Returns the JumpMessage data message's enhancedSpeed
field's current value.
- Returns
- the
enhancedSpeed
field value.
◆ hangTime()
float JumpMessage::hangTime |
( |
| ) |
const |
Returns the JumpMessage data message's hangTime
field's current value.
- Returns
- the
hangTime
field value.
◆ height()
float JumpMessage::height |
( |
| ) |
const |
Returns the JumpMessage data message's height
field's current value.
- Returns
- the
height
field value.
◆ positionLat()
qint32 JumpMessage::positionLat |
( |
| ) |
const |
Returns the JumpMessage data message's positionLat
field's current value.
- Returns
- the
positionLat
field value.
◆ positionLong()
qint32 JumpMessage::positionLong |
( |
| ) |
const |
Returns the JumpMessage data message's positionLong
field's current value.
- Returns
- the
positionLong
field value.
◆ rotations()
quint8 JumpMessage::rotations |
( |
| ) |
const |
Returns the JumpMessage data message's rotations
field's current value.
- Returns
- the
rotations
field value.
◆ 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.
◆ setDistance()
void JumpMessage::setDistance |
( |
const float |
distance | ) |
|
Sets the distance
field to distance.
- Parameters
-
distance | The field value to set. |
◆ setEnhancedSpeed()
void JumpMessage::setEnhancedSpeed |
( |
const quint32 |
enhancedSpeed | ) |
|
Sets the enhancedSpeed
field to enhancedSpeed.
- Parameters
-
enhancedSpeed | The field value to set. |
◆ setHangTime()
void JumpMessage::setHangTime |
( |
const float |
hangTime | ) |
|
Sets the hangTime
field to hangTime.
- Parameters
-
hangTime | The field value to set. |
◆ setHeight()
void JumpMessage::setHeight |
( |
const float |
height | ) |
|
Sets the height
field to height.
- Parameters
-
height | The field value to set. |
◆ setPositionLat()
void JumpMessage::setPositionLat |
( |
const qint32 |
positionLat | ) |
|
Sets the positionLat
field to positionLat.
- Parameters
-
positionLat | The field value to set. |
◆ setPositionLong()
void JumpMessage::setPositionLong |
( |
const qint32 |
positionLong | ) |
|
Sets the positionLong
field to positionLong.
- Parameters
-
positionLong | The field value to set. |
◆ setRotations()
void JumpMessage::setRotations |
( |
const quint8 |
rotations | ) |
|
Sets the rotations
field to rotations.
- Parameters
-
rotations | The field value to set. |
◆ setScore()
void JumpMessage::setScore |
( |
const float |
score | ) |
|
Sets the score
field to score.
- Parameters
-
score | The field value to set. |
◆ setSpeed()
void JumpMessage::setSpeed |
( |
const quint16 |
speed | ) |
|
Sets the speed
field to speed.
- Parameters
-
speed | The field value to set. |
◆ setTimestamp()
void JumpMessage::setTimestamp |
( |
const DateTime |
timestamp | ) |
|
Sets the timestamp
field to timestamp.
- Parameters
-
timestamp | The field value to set. |
◆ speed()
quint16 JumpMessage::speed |
( |
| ) |
const |
Returns the JumpMessage data message's speed
field's current value.
- Returns
- the
speed
field value.
◆ timestamp()
DateTime JumpMessage::timestamp |
( |
| ) |
const |
Returns the JumpMessage data message's timestamp
field's current value.
- Returns
- the
timestamp
field value.
The documentation for this class was generated from the following files: