The CoursePointMessage class represents a FIT CoursePointMessage 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 CoursePointMessage class represents a FIT CoursePointMessage data message.
- See also
- DataMessage
◆ CoursePointMessage()
CoursePointMessage::CoursePointMessage |
( |
| ) |
|
Constructs a CoursePointMessage 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()
quint32 CoursePointMessage::distance |
( |
| ) |
const |
Returns the CoursePointMessage data message's distance
field's current value.
- Returns
- the
distance
field value.
◆ favorite()
bool CoursePointMessage::favorite |
( |
| ) |
const |
Returns the CoursePointMessage data message's favorite
field's current value.
- Returns
- the
favorite
field value.
◆ messageIndex()
Returns the CoursePointMessage data message's messageIndex
field's current value.
- Returns
- the
messageIndex
field value.
◆ name()
QString CoursePointMessage::name |
( |
| ) |
const |
Returns the CoursePointMessage data message's name
field's current value.
- Returns
- the
name
field value.
◆ positionLat()
qint32 CoursePointMessage::positionLat |
( |
| ) |
const |
Returns the CoursePointMessage data message's positionLat
field's current value.
- Returns
- the
positionLat
field value.
◆ positionLong()
qint32 CoursePointMessage::positionLong |
( |
| ) |
const |
Returns the CoursePointMessage data message's positionLong
field's current value.
- Returns
- the
positionLong
field value.
◆ setDistance()
void CoursePointMessage::setDistance |
( |
const quint32 |
distance | ) |
|
Sets the distance
field to distance.
- Parameters
-
distance | The field value to set. |
◆ setFavorite()
void CoursePointMessage::setFavorite |
( |
const bool |
favorite | ) |
|
Sets the favorite
field to favorite.
- Parameters
-
favorite | The field value to set. |
◆ setMessageIndex()
void CoursePointMessage::setMessageIndex |
( |
const MessageIndex |
messageIndex | ) |
|
Sets the messageIndex
field to messageIndex.
- Parameters
-
messageIndex | The field value to set. |
◆ setName()
void CoursePointMessage::setName |
( |
const QString |
name | ) |
|
Sets the name
field to name.
- Parameters
-
name | The field value to set. |
◆ setPositionLat()
void CoursePointMessage::setPositionLat |
( |
const qint32 |
positionLat | ) |
|
Sets the positionLat
field to positionLat.
- Parameters
-
positionLat | The field value to set. |
◆ setPositionLong()
void CoursePointMessage::setPositionLong |
( |
const qint32 |
positionLong | ) |
|
Sets the positionLong
field to positionLong.
- Parameters
-
positionLong | The field value to set. |
◆ setTimestamp()
void CoursePointMessage::setTimestamp |
( |
const DateTime |
timestamp | ) |
|
Sets the timestamp
field to timestamp.
- Parameters
-
timestamp | The field value to set. |
◆ setType()
void CoursePointMessage::setType |
( |
const CoursePoint |
type | ) |
|
Sets the type
field to type.
- Parameters
-
type | The field value to set. |
◆ timestamp()
DateTime CoursePointMessage::timestamp |
( |
| ) |
const |
Returns the CoursePointMessage data message's timestamp
field's current value.
- Returns
- the
timestamp
field value.
◆ type()
Returns the CoursePointMessage data message's type
field's current value.
- Returns
- the
type
field value.
The documentation for this class was generated from the following files: