The AntRxMessage class represents a FIT AntRxMessage data message.
More...
|
static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More...
|
|
The AntRxMessage class represents a FIT AntRxMessage data message.
- See also
- DataMessage
◆ AntRxMessage()
AntRxMessage::AntRxMessage |
( |
| ) |
|
Constructs a AntRxMessage 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.
◆ channelNumber()
quint8 AntRxMessage::channelNumber |
( |
| ) |
const |
Returns the AntRxMessage data message's channelNumber
field's current value.
- Returns
- the
channelNumber
field value.
◆ data()
quint8 AntRxMessage::data |
( |
| ) |
const |
Returns the AntRxMessage data message's data
field's current value.
- Returns
- the
data
field value.
◆ fractionalTimestamp()
quint16 AntRxMessage::fractionalTimestamp |
( |
| ) |
const |
Returns the AntRxMessage data message's fractionalTimestamp
field's current value.
- Returns
- the
fractionalTimestamp
field value.
◆ mesgData()
quint8 AntRxMessage::mesgData |
( |
| ) |
const |
Returns the AntRxMessage data message's mesgData
field's current value.
- Returns
- the
mesgData
field value.
◆ mesgId()
quint8 AntRxMessage::mesgId |
( |
| ) |
const |
Returns the AntRxMessage data message's mesgId
field's current value.
- Returns
- the
mesgId
field value.
◆ setChannelNumber()
void AntRxMessage::setChannelNumber |
( |
const quint8 |
channelNumber | ) |
|
Sets the channelNumber
field to channelNumber.
- Parameters
-
channelNumber | The field value to set. |
◆ setData()
void AntRxMessage::setData |
( |
const quint8 |
data | ) |
|
Sets the data
field to data.
- Parameters
-
data | The field value to set. |
◆ setFractionalTimestamp()
void AntRxMessage::setFractionalTimestamp |
( |
const quint16 |
fractionalTimestamp | ) |
|
Sets the fractionalTimestamp
field to fractionalTimestamp.
- Parameters
-
fractionalTimestamp | The field value to set. |
◆ setMesgData()
void AntRxMessage::setMesgData |
( |
const quint8 |
mesgData | ) |
|
Sets the mesgData
field to mesgData.
- Parameters
-
mesgData | The field value to set. |
◆ setMesgId()
void AntRxMessage::setMesgId |
( |
const quint8 |
mesgId | ) |
|
Sets the mesgId
field to mesgId.
- Parameters
-
mesgId | The field value to set. |
◆ setTimestamp()
void AntRxMessage::setTimestamp |
( |
const DateTime |
timestamp | ) |
|
Sets the timestamp
field to timestamp.
- Parameters
-
timestamp | The field value to set. |
◆ timestamp()
DateTime AntRxMessage::timestamp |
( |
| ) |
const |
Returns the AntRxMessage data message's timestamp
field's current value.
- Returns
- the
timestamp
field value.
The documentation for this class was generated from the following files: