QtFit
0.1
Internal library development documentation
|
The SpeedZoneMessage class represents a FIT SpeedZoneMessage data message. More...
Public Member Functions | |
SpeedZoneMessage () | |
Constructs a SpeedZoneMessage object. More... | |
MessageIndex | messageIndex () const |
Returns the SpeedZoneMessage data message's messageIndex field's current value. More... | |
quint16 | highValue () const |
Returns the SpeedZoneMessage data message's highValue field's current value. More... | |
QString | name () const |
Returns the SpeedZoneMessage data message's name field's current value. More... | |
void | setMessageIndex (const MessageIndex messageIndex) |
Sets the messageIndex field to messageIndex. More... | |
void | setHighValue (const quint16 highValue) |
Sets the highValue field to highValue. More... | |
void | setName (const QString name) |
Sets the name field to name. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Protected Member Functions | |
SpeedZoneMessage (SpeedZoneMessagePrivate *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 SpeedZoneMessage class represents a FIT SpeedZoneMessage data message.
Definition at line 39 of file speedzonemessage.h.
SpeedZoneMessage::SpeedZoneMessage | ( | ) |
Constructs a SpeedZoneMessage 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 speedzonemessage.cpp.
|
explicitprotected |
Constructs a SpeedZoneMessage object with private implementation d.
d | Pointer to private implementation. |
Definition at line 64 of file speedzonemessage.cpp.
quint16 SpeedZoneMessage::highValue | ( | ) | const |
Returns the SpeedZoneMessage data message's highValue
field's current value.
highValue
field value. Definition at line 85 of file speedzonemessage.cpp.
Referenced by setHighValue().
MessageIndex SpeedZoneMessage::messageIndex | ( | ) | const |
Returns the SpeedZoneMessage data message's messageIndex
field's current value.
messageIndex
field value. Definition at line 74 of file speedzonemessage.cpp.
Referenced by setMessageIndex().
QString SpeedZoneMessage::name | ( | ) | const |
Returns the SpeedZoneMessage data message's name
field's current value.
name
field value. Definition at line 96 of file speedzonemessage.cpp.
Referenced by setName().
void SpeedZoneMessage::setHighValue | ( | const quint16 | highValue | ) |
Sets the highValue
field to highValue.
highValue | The field value to set. |
Definition at line 117 of file speedzonemessage.cpp.
References highValue().
void SpeedZoneMessage::setMessageIndex | ( | const MessageIndex | messageIndex | ) |
Sets the messageIndex
field to messageIndex.
messageIndex | The field value to set. |
Definition at line 107 of file speedzonemessage.cpp.
References messageIndex().
void SpeedZoneMessage::setName | ( | const QString | name | ) |
Sets the name
field to name.
name | The field value to set. |
Definition at line 127 of file speedzonemessage.cpp.
References name().