|
QtFit
0.1
Internal library development documentation
|
The WatchfaceSettingsMessage class represents a FIT WatchfaceSettingsMessage data message. More...
Public Member Functions | |
| WatchfaceSettingsMessage () | |
| Constructs a WatchfaceSettingsMessage object. More... | |
| MessageIndex | messageIndex () const |
Returns the WatchfaceSettingsMessage data message's messageIndex field's current value. More... | |
| WatchfaceMode | mode () const |
Returns the WatchfaceSettingsMessage data message's mode field's current value. More... | |
| quint8 | layout () const |
Returns the WatchfaceSettingsMessage data message's layout field's current value. More... | |
| void | setMessageIndex (const MessageIndex messageIndex) |
Sets the messageIndex field to messageIndex. More... | |
| void | setMode (const WatchfaceMode mode) |
Sets the mode field to mode. More... | |
| void | setLayout (const quint8 layout) |
Sets the layout field to layout. More... | |
Public Member Functions inherited from AbstractDataMessage | |
| ~AbstractDataMessage () | |
| Destroys the AbstractDataMessage object. | |
| MesgNum | globalMessageNumber () const |
| Returns the data message's global message number. More... | |
Protected Member Functions | |
| WatchfaceSettingsMessage (WatchfaceSettingsMessagePrivate *const d) | |
Protected Member Functions inherited from AbstractDataMessage | |
| AbstractDataMessage (AbstractDataMessagePrivate *const d) | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractDataMessage | |
| static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
Protected Attributes inherited from AbstractDataMessage | |
| AbstractDataMessagePrivate *const | d_ptr |
| Internal d-pointer. | |
The WatchfaceSettingsMessage class represents a FIT WatchfaceSettingsMessage data message.
Definition at line 39 of file watchfacesettingsmessage.h.
| WatchfaceSettingsMessage::WatchfaceSettingsMessage | ( | ) |
Constructs a WatchfaceSettingsMessage 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 watchfacesettingsmessage.cpp.
|
explicitprotected |
Constructs a WatchfaceSettingsMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file watchfacesettingsmessage.cpp.
| quint8 WatchfaceSettingsMessage::layout | ( | ) | const |
Returns the WatchfaceSettingsMessage data message's layout field's current value.
layout field value. Definition at line 96 of file watchfacesettingsmessage.cpp.
Referenced by setLayout().
| MessageIndex WatchfaceSettingsMessage::messageIndex | ( | ) | const |
Returns the WatchfaceSettingsMessage data message's messageIndex field's current value.
messageIndex field value. Definition at line 74 of file watchfacesettingsmessage.cpp.
Referenced by setMessageIndex().
| WatchfaceMode WatchfaceSettingsMessage::mode | ( | ) | const |
Returns the WatchfaceSettingsMessage data message's mode field's current value.
mode field value. Definition at line 85 of file watchfacesettingsmessage.cpp.
Referenced by setMode().
| void WatchfaceSettingsMessage::setLayout | ( | const quint8 | layout | ) |
Sets the layout field to layout.
| layout | The field value to set. |
Definition at line 127 of file watchfacesettingsmessage.cpp.
References layout().
| void WatchfaceSettingsMessage::setMessageIndex | ( | const MessageIndex | messageIndex | ) |
Sets the messageIndex field to messageIndex.
| messageIndex | The field value to set. |
Definition at line 107 of file watchfacesettingsmessage.cpp.
References messageIndex().
| void WatchfaceSettingsMessage::setMode | ( | const WatchfaceMode | mode | ) |
Sets the mode field to mode.
| mode | The field value to set. |
Definition at line 117 of file watchfacesettingsmessage.cpp.
References mode().