QtFit
0.1
Internal library development documentation
|
The AntChannelIdMessage class represents a FIT AntChannelIdMessage data message. More...
Public Member Functions | |
AntChannelIdMessage () | |
Constructs a AntChannelIdMessage object. More... | |
quint8 | channelNumber () const |
Returns the AntChannelIdMessage data message's channelNumber field's current value. More... | |
quint8z | deviceType () const |
Returns the AntChannelIdMessage data message's deviceType field's current value. More... | |
quint16z | deviceNumber () const |
Returns the AntChannelIdMessage data message's deviceNumber field's current value. More... | |
quint8z | transmissionType () const |
Returns the AntChannelIdMessage data message's transmissionType field's current value. More... | |
DeviceIndex | deviceIndex () const |
Returns the AntChannelIdMessage data message's deviceIndex field's current value. More... | |
void | setChannelNumber (const quint8 channelNumber) |
Sets the channelNumber field to channelNumber. More... | |
void | setDeviceType (const quint8z deviceType) |
Sets the deviceType field to deviceType. More... | |
void | setDeviceNumber (const quint16z deviceNumber) |
Sets the deviceNumber field to deviceNumber. More... | |
void | setTransmissionType (const quint8z transmissionType) |
Sets the transmissionType field to transmissionType. More... | |
void | setDeviceIndex (const DeviceIndex deviceIndex) |
Sets the deviceIndex field to deviceIndex. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Protected Member Functions | |
AntChannelIdMessage (AntChannelIdMessagePrivate *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 AntChannelIdMessage class represents a FIT AntChannelIdMessage data message.
Definition at line 39 of file antchannelidmessage.h.
AntChannelIdMessage::AntChannelIdMessage | ( | ) |
Constructs a AntChannelIdMessage 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 antchannelidmessage.cpp.
|
explicitprotected |
Constructs a AntChannelIdMessage object with private implementation d.
d | Pointer to private implementation. |
Definition at line 64 of file antchannelidmessage.cpp.
quint8 AntChannelIdMessage::channelNumber | ( | ) | const |
Returns the AntChannelIdMessage data message's channelNumber
field's current value.
channelNumber
field value. Definition at line 74 of file antchannelidmessage.cpp.
Referenced by setChannelNumber().
DeviceIndex AntChannelIdMessage::deviceIndex | ( | ) | const |
Returns the AntChannelIdMessage data message's deviceIndex
field's current value.
deviceIndex
field value. Definition at line 118 of file antchannelidmessage.cpp.
Referenced by setDeviceIndex().
quint16z AntChannelIdMessage::deviceNumber | ( | ) | const |
Returns the AntChannelIdMessage data message's deviceNumber
field's current value.
deviceNumber
field value. Definition at line 96 of file antchannelidmessage.cpp.
Referenced by setDeviceNumber().
quint8z AntChannelIdMessage::deviceType | ( | ) | const |
Returns the AntChannelIdMessage data message's deviceType
field's current value.
deviceType
field value. Definition at line 85 of file antchannelidmessage.cpp.
Referenced by setDeviceType().
void AntChannelIdMessage::setChannelNumber | ( | const quint8 | channelNumber | ) |
Sets the channelNumber
field to channelNumber.
channelNumber | The field value to set. |
Definition at line 129 of file antchannelidmessage.cpp.
References channelNumber().
void AntChannelIdMessage::setDeviceIndex | ( | const DeviceIndex | deviceIndex | ) |
Sets the deviceIndex
field to deviceIndex.
deviceIndex | The field value to set. |
Definition at line 169 of file antchannelidmessage.cpp.
References deviceIndex().
void AntChannelIdMessage::setDeviceNumber | ( | const quint16z | deviceNumber | ) |
Sets the deviceNumber
field to deviceNumber.
deviceNumber | The field value to set. |
Definition at line 149 of file antchannelidmessage.cpp.
References deviceNumber().
void AntChannelIdMessage::setDeviceType | ( | const quint8z | deviceType | ) |
Sets the deviceType
field to deviceType.
deviceType | The field value to set. |
Definition at line 139 of file antchannelidmessage.cpp.
References deviceType().
void AntChannelIdMessage::setTransmissionType | ( | const quint8z | transmissionType | ) |
Sets the transmissionType
field to transmissionType.
transmissionType | The field value to set. |
Definition at line 159 of file antchannelidmessage.cpp.
References transmissionType().
quint8z AntChannelIdMessage::transmissionType | ( | ) | const |
Returns the AntChannelIdMessage data message's transmissionType
field's current value.
transmissionType
field value. Definition at line 107 of file antchannelidmessage.cpp.
Referenced by setTransmissionType().