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