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

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

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

Public Member Functions

 CourseMessage ()
 Constructs a CourseMessage object. More...
 
Sport sport () const
 Returns the CourseMessage data message's sport field's current value. More...
 
QString name () const
 Returns the CourseMessage data message's name field's current value. More...
 
CourseCapabilities capabilities () const
 Returns the CourseMessage data message's capabilities field's current value. More...
 
SubSport subSport () const
 Returns the CourseMessage data message's subSport field's current value. More...
 
void setSport (const Sport sport)
 Sets the sport field to sport. More...
 
void setName (const QString name)
 Sets the name field to name. More...
 
void setCapabilities (const CourseCapabilities capabilities)
 Sets the capabilities field to capabilities. More...
 
void setSubSport (const SubSport subSport)
 Sets the subSport field to subSport. 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 CourseMessage class represents a FIT CourseMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ CourseMessage()

CourseMessage::CourseMessage ( )

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

◆ capabilities()

CourseCapabilities CourseMessage::capabilities ( ) const

Returns the CourseMessage data message's capabilities field's current value.

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

◆ name()

QString CourseMessage::name ( ) const

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

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

◆ setCapabilities()

void CourseMessage::setCapabilities ( const CourseCapabilities  capabilities)

Sets the capabilities field to capabilities.

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

◆ setName()

void CourseMessage::setName ( const QString  name)

Sets the name field to name.

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

◆ setSport()

void CourseMessage::setSport ( const Sport  sport)

Sets the sport field to sport.

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

◆ setSubSport()

void CourseMessage::setSubSport ( const SubSport  subSport)

Sets the subSport field to subSport.

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

◆ sport()

Sport CourseMessage::sport ( ) const

Returns the CourseMessage data message's sport field's current value.

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

◆ subSport()

SubSport CourseMessage::subSport ( ) const

Returns the CourseMessage data message's subSport field's current value.

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

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