QtFit
0.1
Internal library development documentation
|
The HrvMessage class represents a FIT HrvMessage data message. More...
Public Member Functions | |
HrvMessage () | |
Constructs a HrvMessage object. More... | |
quint16 | time () const |
Returns the HrvMessage data message's time field's current value. More... | |
void | setTime (const quint16 time) |
Sets the time field to time. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Protected Member Functions | |
HrvMessage (HrvMessagePrivate *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 HrvMessage class represents a FIT HrvMessage data message.
Definition at line 39 of file hrvmessage.h.
HrvMessage::HrvMessage | ( | ) |
Constructs a HrvMessage 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 hrvmessage.cpp.
|
explicitprotected |
Constructs a HrvMessage object with private implementation d.
d | Pointer to private implementation. |
Definition at line 64 of file hrvmessage.cpp.
void HrvMessage::setTime | ( | const quint16 | time | ) |
Sets the time
field to time.
time | The field value to set. |
Definition at line 87 of file hrvmessage.cpp.
References time().
quint16 HrvMessage::time | ( | ) | const |
Returns the HrvMessage data message's time
field's current value.
Time between beats
time
field value. Definition at line 76 of file hrvmessage.cpp.
Referenced by setTime().