QtFit  0.1
Native Qt library for Garmin FIT format
All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
WatchfaceSettingsMessage Class Reference

The WatchfaceSettingsMessage class represents a FIT WatchfaceSettingsMessage data message. More...

Inheritance diagram for WatchfaceSettingsMessage:
[legend]
Collaboration diagram for WatchfaceSettingsMessage:
[legend]

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...
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractDataMessage
static AbstractDataMessagefromData (const DataDefinition *const defn, const QByteArray &record)
 Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
 

Detailed Description

The WatchfaceSettingsMessage class represents a FIT WatchfaceSettingsMessage data message.

See also
DataMessage

Constructor & Destructor Documentation

◆ WatchfaceSettingsMessage()

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.

Member Function Documentation

◆ layout()

quint8 WatchfaceSettingsMessage::layout ( ) const

Returns the WatchfaceSettingsMessage data message's layout field's current value.

Returns
the layout field value.
Here is the caller graph for this function:

◆ messageIndex()

MessageIndex WatchfaceSettingsMessage::messageIndex ( ) const

Returns the WatchfaceSettingsMessage data message's messageIndex field's current value.

Returns
the messageIndex field value.
Here is the caller graph for this function:

◆ mode()

WatchfaceMode WatchfaceSettingsMessage::mode ( ) const

Returns the WatchfaceSettingsMessage data message's mode field's current value.

Returns
the mode field value.
Here is the caller graph for this function:

◆ setLayout()

void WatchfaceSettingsMessage::setLayout ( const quint8  layout)

Sets the layout field to layout.

Parameters
layoutThe field value to set.
Here is the call graph for this function:

◆ setMessageIndex()

void WatchfaceSettingsMessage::setMessageIndex ( const MessageIndex  messageIndex)

Sets the messageIndex field to messageIndex.

Parameters
messageIndexThe field value to set.
Here is the call graph for this function:

◆ setMode()

void WatchfaceSettingsMessage::setMode ( const WatchfaceMode  mode)

Sets the mode field to mode.

Parameters
modeThe field value to set.
Here is the call graph for this function:

The documentation for this class was generated from the following files: