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

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

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

Public Member Functions

 SegmentLeaderboardEntryMessage ()
 Constructs a SegmentLeaderboardEntryMessage object. More...
 
MessageIndex messageIndex () const
 Returns the SegmentLeaderboardEntryMessage data message's messageIndex field's current value. More...
 
QString name () const
 Returns the SegmentLeaderboardEntryMessage data message's name field's current value. More...
 
SegmentLeaderboardType type () const
 Returns the SegmentLeaderboardEntryMessage data message's type field's current value. More...
 
quint32 groupPrimaryKey () const
 Returns the SegmentLeaderboardEntryMessage data message's groupPrimaryKey field's current value. More...
 
quint32 activityId () const
 Returns the SegmentLeaderboardEntryMessage data message's activityId field's current value. More...
 
quint32 segmentTime () const
 Returns the SegmentLeaderboardEntryMessage data message's segmentTime field's current value. More...
 
QString activityIdString () const
 Returns the SegmentLeaderboardEntryMessage data message's activityIdString field's current value. More...
 
void setMessageIndex (const MessageIndex messageIndex)
 Sets the messageIndex field to messageIndex. More...
 
void setName (const QString name)
 Sets the name field to name. More...
 
void setType (const SegmentLeaderboardType type)
 Sets the type field to type. More...
 
void setGroupPrimaryKey (const quint32 groupPrimaryKey)
 Sets the groupPrimaryKey field to groupPrimaryKey. More...
 
void setActivityId (const quint32 activityId)
 Sets the activityId field to activityId. More...
 
void setSegmentTime (const quint32 segmentTime)
 Sets the segmentTime field to segmentTime. More...
 
void setActivityIdString (const QString activityIdString)
 Sets the activityIdString field to activityIdString. 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 SegmentLeaderboardEntryMessage class represents a FIT SegmentLeaderboardEntryMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ SegmentLeaderboardEntryMessage()

SegmentLeaderboardEntryMessage::SegmentLeaderboardEntryMessage ( )

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

◆ activityId()

quint32 SegmentLeaderboardEntryMessage::activityId ( ) const

Returns the SegmentLeaderboardEntryMessage data message's activityId field's current value.

ID of the activity associated with this leader time

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

◆ activityIdString()

QString SegmentLeaderboardEntryMessage::activityIdString ( ) const

Returns the SegmentLeaderboardEntryMessage data message's activityIdString field's current value.

String version of the activity_id. 21 characters long, express in decimal

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

◆ groupPrimaryKey()

quint32 SegmentLeaderboardEntryMessage::groupPrimaryKey ( ) const

Returns the SegmentLeaderboardEntryMessage data message's groupPrimaryKey field's current value.

Primary user ID of this leader

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

◆ messageIndex()

MessageIndex SegmentLeaderboardEntryMessage::messageIndex ( ) const

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

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

◆ name()

QString SegmentLeaderboardEntryMessage::name ( ) const

Returns the SegmentLeaderboardEntryMessage data message's name field's current value.

Friendly name assigned to leader

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

◆ segmentTime()

quint32 SegmentLeaderboardEntryMessage::segmentTime ( ) const

Returns the SegmentLeaderboardEntryMessage data message's segmentTime field's current value.

Segment Time (includes pauses)

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

◆ setActivityId()

void SegmentLeaderboardEntryMessage::setActivityId ( const quint32  activityId)

Sets the activityId field to activityId.

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

◆ setActivityIdString()

void SegmentLeaderboardEntryMessage::setActivityIdString ( const QString  activityIdString)

Sets the activityIdString field to activityIdString.

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

◆ setGroupPrimaryKey()

void SegmentLeaderboardEntryMessage::setGroupPrimaryKey ( const quint32  groupPrimaryKey)

Sets the groupPrimaryKey field to groupPrimaryKey.

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

◆ setMessageIndex()

void SegmentLeaderboardEntryMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

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

◆ setName()

void SegmentLeaderboardEntryMessage::setName ( const QString  name)

Sets the name field to name.

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

◆ setSegmentTime()

void SegmentLeaderboardEntryMessage::setSegmentTime ( const quint32  segmentTime)

Sets the segmentTime field to segmentTime.

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

◆ setType()

void SegmentLeaderboardEntryMessage::setType ( const SegmentLeaderboardType  type)

Sets the type field to type.

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

◆ type()

SegmentLeaderboardType SegmentLeaderboardEntryMessage::type ( ) const

Returns the SegmentLeaderboardEntryMessage data message's type field's current value.

Leader classification

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

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