QtFit
0.1
Internal library development documentation
|
The ExerciseTitleMessage class represents a FIT ExerciseTitleMessage data message. More...
Public Member Functions | |
ExerciseTitleMessage () | |
Constructs a ExerciseTitleMessage object. More... | |
MessageIndex | messageIndex () const |
Returns the ExerciseTitleMessage data message's messageIndex field's current value. More... | |
ExerciseCategory | exerciseCategory () const |
Returns the ExerciseTitleMessage data message's exerciseCategory field's current value. More... | |
quint16 | exerciseName () const |
Returns the ExerciseTitleMessage data message's exerciseName field's current value. More... | |
QString | wktStepName () const |
Returns the ExerciseTitleMessage data message's wktStepName field's current value. More... | |
void | setMessageIndex (const MessageIndex messageIndex) |
Sets the messageIndex field to messageIndex. More... | |
void | setExerciseCategory (const ExerciseCategory exerciseCategory) |
Sets the exerciseCategory field to exerciseCategory. More... | |
void | setExerciseName (const quint16 exerciseName) |
Sets the exerciseName field to exerciseName. More... | |
void | setWktStepName (const QString wktStepName) |
Sets the wktStepName field to wktStepName. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Protected Member Functions | |
ExerciseTitleMessage (ExerciseTitleMessagePrivate *const d) | |
![]() | |
AbstractDataMessage (AbstractDataMessagePrivate *const d) | |
Additional Inherited Members | |
![]() | |
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
![]() | |
AbstractDataMessagePrivate *const | d_ptr |
Internal d-pointer. | |
The ExerciseTitleMessage class represents a FIT ExerciseTitleMessage data message.
Definition at line 39 of file exercisetitlemessage.h.
ExerciseTitleMessage::ExerciseTitleMessage | ( | ) |
Constructs a ExerciseTitleMessage 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.
Definition at line 52 of file exercisetitlemessage.cpp.
|
explicitprotected |
Constructs a ExerciseTitleMessage object with private implementation d.
d | Pointer to private implementation. |
Definition at line 64 of file exercisetitlemessage.cpp.
ExerciseCategory ExerciseTitleMessage::exerciseCategory | ( | ) | const |
Returns the ExerciseTitleMessage data message's exerciseCategory
field's current value.
exerciseCategory
field value. Definition at line 85 of file exercisetitlemessage.cpp.
Referenced by setExerciseCategory().
quint16 ExerciseTitleMessage::exerciseName | ( | ) | const |
Returns the ExerciseTitleMessage data message's exerciseName
field's current value.
exerciseName
field value. Definition at line 96 of file exercisetitlemessage.cpp.
Referenced by setExerciseName().
MessageIndex ExerciseTitleMessage::messageIndex | ( | ) | const |
Returns the ExerciseTitleMessage data message's messageIndex
field's current value.
messageIndex
field value. Definition at line 74 of file exercisetitlemessage.cpp.
Referenced by setMessageIndex().
void ExerciseTitleMessage::setExerciseCategory | ( | const ExerciseCategory | exerciseCategory | ) |
Sets the exerciseCategory
field to exerciseCategory.
exerciseCategory | The field value to set. |
Definition at line 128 of file exercisetitlemessage.cpp.
References exerciseCategory().
void ExerciseTitleMessage::setExerciseName | ( | const quint16 | exerciseName | ) |
Sets the exerciseName
field to exerciseName.
exerciseName | The field value to set. |
Definition at line 138 of file exercisetitlemessage.cpp.
References exerciseName().
void ExerciseTitleMessage::setMessageIndex | ( | const MessageIndex | messageIndex | ) |
Sets the messageIndex
field to messageIndex.
messageIndex | The field value to set. |
Definition at line 118 of file exercisetitlemessage.cpp.
References messageIndex().
void ExerciseTitleMessage::setWktStepName | ( | const QString | wktStepName | ) |
Sets the wktStepName
field to wktStepName.
wktStepName | The field value to set. |
Definition at line 148 of file exercisetitlemessage.cpp.
References wktStepName().
QString ExerciseTitleMessage::wktStepName | ( | ) | const |
Returns the ExerciseTitleMessage data message's wktStepName
field's current value.
wktStepName
field value. Definition at line 107 of file exercisetitlemessage.cpp.
Referenced by setWktStepName().