|
QtFit
0.1
Internal library development documentation
|
The AntRxMessage class represents a FIT AntRxMessage data message. More...
Public Member Functions | |
| AntRxMessage () | |
| Constructs a AntRxMessage object. More... | |
| DateTime | timestamp () const |
Returns the AntRxMessage data message's timestamp field's current value. More... | |
| quint16 | fractionalTimestamp () const |
Returns the AntRxMessage data message's fractionalTimestamp field's current value. More... | |
| quint8 | mesgId () const |
Returns the AntRxMessage data message's mesgId field's current value. More... | |
| quint8 | mesgData () const |
Returns the AntRxMessage data message's mesgData field's current value. More... | |
| quint8 | channelNumber () const |
Returns the AntRxMessage data message's channelNumber field's current value. More... | |
| quint8 | data () const |
Returns the AntRxMessage data message's data field's current value. More... | |
| void | setTimestamp (const DateTime timestamp) |
Sets the timestamp field to timestamp. More... | |
| void | setFractionalTimestamp (const quint16 fractionalTimestamp) |
Sets the fractionalTimestamp field to fractionalTimestamp. More... | |
| void | setMesgId (const quint8 mesgId) |
Sets the mesgId field to mesgId. More... | |
| void | setMesgData (const quint8 mesgData) |
Sets the mesgData field to mesgData. More... | |
| void | setChannelNumber (const quint8 channelNumber) |
Sets the channelNumber field to channelNumber. More... | |
| void | setData (const quint8 data) |
Sets the data field to data. 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 | |
| AntRxMessage (AntRxMessagePrivate *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 AntRxMessage class represents a FIT AntRxMessage data message.
Definition at line 39 of file antrxmessage.h.
| 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.
Definition at line 52 of file antrxmessage.cpp.
|
explicitprotected |
Constructs a AntRxMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file antrxmessage.cpp.
| quint8 AntRxMessage::channelNumber | ( | ) | const |
Returns the AntRxMessage data message's channelNumber field's current value.
channelNumber field value. Definition at line 118 of file antrxmessage.cpp.
Referenced by setChannelNumber().
| quint8 AntRxMessage::data | ( | ) | const |
Returns the AntRxMessage data message's data field's current value.
data field value. Definition at line 129 of file antrxmessage.cpp.
Referenced by setData().
| quint16 AntRxMessage::fractionalTimestamp | ( | ) | const |
Returns the AntRxMessage data message's fractionalTimestamp field's current value.
fractionalTimestamp field value. Definition at line 85 of file antrxmessage.cpp.
Referenced by setFractionalTimestamp().
| quint8 AntRxMessage::mesgData | ( | ) | const |
Returns the AntRxMessage data message's mesgData field's current value.
mesgData field value. Definition at line 107 of file antrxmessage.cpp.
Referenced by setMesgData().
| quint8 AntRxMessage::mesgId | ( | ) | const |
Returns the AntRxMessage data message's mesgId field's current value.
mesgId field value. Definition at line 96 of file antrxmessage.cpp.
Referenced by setMesgId().
| void AntRxMessage::setChannelNumber | ( | const quint8 | channelNumber | ) |
Sets the channelNumber field to channelNumber.
| channelNumber | The field value to set. |
Definition at line 180 of file antrxmessage.cpp.
References channelNumber().
| void AntRxMessage::setData | ( | const quint8 | data | ) |
Sets the data field to data.
| data | The field value to set. |
Definition at line 190 of file antrxmessage.cpp.
References data().
| void AntRxMessage::setFractionalTimestamp | ( | const quint16 | fractionalTimestamp | ) |
Sets the fractionalTimestamp field to fractionalTimestamp.
| fractionalTimestamp | The field value to set. |
Definition at line 150 of file antrxmessage.cpp.
References fractionalTimestamp().
| void AntRxMessage::setMesgData | ( | const quint8 | mesgData | ) |
Sets the mesgData field to mesgData.
| mesgData | The field value to set. |
Definition at line 170 of file antrxmessage.cpp.
References mesgData().
| void AntRxMessage::setMesgId | ( | const quint8 | mesgId | ) |
Sets the mesgId field to mesgId.
| mesgId | The field value to set. |
Definition at line 160 of file antrxmessage.cpp.
References mesgId().
| void AntRxMessage::setTimestamp | ( | const DateTime | timestamp | ) |
Sets the timestamp field to timestamp.
| timestamp | The field value to set. |
Definition at line 140 of file antrxmessage.cpp.
References timestamp().
| DateTime AntRxMessage::timestamp | ( | ) | const |
Returns the AntRxMessage data message's timestamp field's current value.
timestamp field value. Definition at line 74 of file antrxmessage.cpp.
Referenced by setTimestamp().