QtFit
0.1
Internal library development documentation
|
The ExdScreenConfigurationMessage class represents a FIT ExdScreenConfigurationMessage data message. More...
Public Member Functions | |
ExdScreenConfigurationMessage () | |
Constructs a ExdScreenConfigurationMessage object. More... | |
quint8 | screenIndex () const |
Returns the ExdScreenConfigurationMessage data message's screenIndex field's current value. More... | |
quint8 | fieldCount () const |
Returns the ExdScreenConfigurationMessage data message's fieldCount field's current value. More... | |
ExdLayout | layout () const |
Returns the ExdScreenConfigurationMessage data message's layout field's current value. More... | |
bool | screenEnabled () const |
Returns the ExdScreenConfigurationMessage data message's screenEnabled field's current value. More... | |
void | setScreenIndex (const quint8 screenIndex) |
Sets the screenIndex field to screenIndex. More... | |
void | setFieldCount (const quint8 fieldCount) |
Sets the fieldCount field to fieldCount. More... | |
void | setLayout (const ExdLayout layout) |
Sets the layout field to layout. More... | |
void | setScreenEnabled (const bool screenEnabled) |
Sets the screenEnabled field to screenEnabled. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Protected Member Functions | |
ExdScreenConfigurationMessage (ExdScreenConfigurationMessagePrivate *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 ExdScreenConfigurationMessage class represents a FIT ExdScreenConfigurationMessage data message.
Definition at line 39 of file exdscreenconfigurationmessage.h.
ExdScreenConfigurationMessage::ExdScreenConfigurationMessage | ( | ) |
Constructs a ExdScreenConfigurationMessage 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 exdscreenconfigurationmessage.cpp.
|
explicitprotected |
Constructs a ExdScreenConfigurationMessage object with private implementation d.
d | Pointer to private implementation. |
Definition at line 64 of file exdscreenconfigurationmessage.cpp.
quint8 ExdScreenConfigurationMessage::fieldCount | ( | ) | const |
Returns the ExdScreenConfigurationMessage data message's fieldCount
field's current value.
number of fields in screen
fieldCount
field value. Definition at line 87 of file exdscreenconfigurationmessage.cpp.
Referenced by setFieldCount().
ExdLayout ExdScreenConfigurationMessage::layout | ( | ) | const |
Returns the ExdScreenConfigurationMessage data message's layout
field's current value.
layout
field value. Definition at line 98 of file exdscreenconfigurationmessage.cpp.
Referenced by setLayout().
bool ExdScreenConfigurationMessage::screenEnabled | ( | ) | const |
Returns the ExdScreenConfigurationMessage data message's screenEnabled
field's current value.
screenEnabled
field value. Definition at line 109 of file exdscreenconfigurationmessage.cpp.
Referenced by setScreenEnabled().
quint8 ExdScreenConfigurationMessage::screenIndex | ( | ) | const |
Returns the ExdScreenConfigurationMessage data message's screenIndex
field's current value.
screenIndex
field value. Definition at line 74 of file exdscreenconfigurationmessage.cpp.
Referenced by setScreenIndex().
void ExdScreenConfigurationMessage::setFieldCount | ( | const quint8 | fieldCount | ) |
Sets the fieldCount
field to fieldCount.
fieldCount | The field value to set. |
Definition at line 130 of file exdscreenconfigurationmessage.cpp.
References fieldCount().
void ExdScreenConfigurationMessage::setLayout | ( | const ExdLayout | layout | ) |
Sets the layout
field to layout.
layout | The field value to set. |
Definition at line 140 of file exdscreenconfigurationmessage.cpp.
References layout().
void ExdScreenConfigurationMessage::setScreenEnabled | ( | const bool | screenEnabled | ) |
Sets the screenEnabled
field to screenEnabled.
screenEnabled | The field value to set. |
Definition at line 150 of file exdscreenconfigurationmessage.cpp.
References screenEnabled().
void ExdScreenConfigurationMessage::setScreenIndex | ( | const quint8 | screenIndex | ) |
Sets the screenIndex
field to screenIndex.
screenIndex | The field value to set. |
Definition at line 120 of file exdscreenconfigurationmessage.cpp.
References screenIndex().