QtFit  0.1
Native Qt library for Garmin FIT format
SegmentPointMessage Class Reference

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

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

Public Member Functions

 SegmentPointMessage ()
 Constructs a SegmentPointMessage object. More...
 
MessageIndex messageIndex () const
 Returns the SegmentPointMessage data message's messageIndex field's current value. More...
 
qint32 positionLat () const
 Returns the SegmentPointMessage data message's positionLat field's current value. More...
 
qint32 positionLong () const
 Returns the SegmentPointMessage data message's positionLong field's current value. More...
 
quint32 distance () const
 Returns the SegmentPointMessage data message's distance field's current value. More...
 
quint16 altitude () const
 Returns the SegmentPointMessage data message's altitude field's current value. More...
 
quint32 leaderTime () const
 Returns the SegmentPointMessage data message's leaderTime field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. 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 setDistance (const quint32 distance)
 Sets the distance field to distance. More...
 
void setAltitude (const quint16 altitude)
 Sets the altitude field to altitude. More...
 
void setLeaderTime (const quint32 leaderTime)
 Sets the leaderTime field to leaderTime. 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 SegmentPointMessage class represents a FIT SegmentPointMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ SegmentPointMessage()

SegmentPointMessage::SegmentPointMessage ( )

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

◆ altitude()

quint16 SegmentPointMessage::altitude ( ) const

Returns the SegmentPointMessage data message's altitude field's current value.

Accumulated altitude along the segment at the described point

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

◆ distance()

quint32 SegmentPointMessage::distance ( ) const

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

Accumulated distance along the segment at the described point

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

◆ leaderTime()

quint32 SegmentPointMessage::leaderTime ( ) const

Returns the SegmentPointMessage data message's leaderTime field's current value.

Accumualted time each leader board member required to reach the described point. This value is zero for all leader board members at the starting point of the segment.

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

◆ messageIndex()

MessageIndex SegmentPointMessage::messageIndex ( ) const

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

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

◆ positionLat()

qint32 SegmentPointMessage::positionLat ( ) const

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

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

◆ positionLong()

qint32 SegmentPointMessage::positionLong ( ) const

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

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

◆ setAltitude()

void SegmentPointMessage::setAltitude ( const quint16  altitude)

Sets the altitude field to altitude.

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

◆ setDistance()

void SegmentPointMessage::setDistance ( const quint32  distance)

Sets the distance field to distance.

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

◆ setLeaderTime()

void SegmentPointMessage::setLeaderTime ( const quint32  leaderTime)

Sets the leaderTime field to leaderTime.

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

◆ setMessageIndex()

void SegmentPointMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

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

◆ setPositionLat()

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

Sets the positionLong field to positionLong.

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

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