QtFit
0.1
Native Qt library for Garmin FIT format
|
The OhrSettingsMessage class represents a FIT OhrSettingsMessage data message. More...
Public Member Functions | |
OhrSettingsMessage () | |
Constructs a OhrSettingsMessage object. More... | |
DateTime | timestamp () const |
Returns the OhrSettingsMessage data message's timestamp field's current value. More... | |
Switch | enabled () const |
Returns the OhrSettingsMessage data message's enabled field's current value. More... | |
void | setTimestamp (const DateTime timestamp) |
Sets the timestamp field to timestamp. More... | |
void | setEnabled (const Switch enabled) |
Sets the enabled field to enabled. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
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... | |
The OhrSettingsMessage class represents a FIT OhrSettingsMessage data message.
OhrSettingsMessage::OhrSettingsMessage | ( | ) |
Constructs a OhrSettingsMessage 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.
Switch OhrSettingsMessage::enabled | ( | ) | const |
Returns the OhrSettingsMessage data message's enabled
field's current value.
enabled
field value. void OhrSettingsMessage::setEnabled | ( | const Switch | enabled | ) |
Sets the enabled
field to enabled.
enabled | The field value to set. |
void OhrSettingsMessage::setTimestamp | ( | const DateTime | timestamp | ) |
Sets the timestamp
field to timestamp.
timestamp | The field value to set. |
DateTime OhrSettingsMessage::timestamp | ( | ) | const |
Returns the OhrSettingsMessage data message's timestamp
field's current value.
timestamp
field value.