|
QtFit
0.1
Internal library development documentation
|
The TimestampCorrelationMessage class represents a FIT TimestampCorrelationMessage data message. More...
Public Member Functions | |
| TimestampCorrelationMessage () | |
| Constructs a TimestampCorrelationMessage object. More... | |
| DateTime | timestamp () const |
Returns the TimestampCorrelationMessage data message's timestamp field's current value. More... | |
| quint16 | fractionalTimestamp () const |
Returns the TimestampCorrelationMessage data message's fractionalTimestamp field's current value. More... | |
| DateTime | systemTimestamp () const |
Returns the TimestampCorrelationMessage data message's systemTimestamp field's current value. More... | |
| quint16 | fractionalSystemTimestamp () const |
Returns the TimestampCorrelationMessage data message's fractionalSystemTimestamp field's current value. More... | |
| LocalDateTime | localTimestamp () const |
Returns the TimestampCorrelationMessage data message's localTimestamp field's current value. More... | |
| quint16 | timestampMs () const |
Returns the TimestampCorrelationMessage data message's timestampMs field's current value. More... | |
| quint16 | systemTimestampMs () const |
Returns the TimestampCorrelationMessage data message's systemTimestampMs 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 | setSystemTimestamp (const DateTime systemTimestamp) |
Sets the systemTimestamp field to systemTimestamp. More... | |
| void | setFractionalSystemTimestamp (const quint16 fractionalSystemTimestamp) |
Sets the fractionalSystemTimestamp field to fractionalSystemTimestamp. More... | |
| void | setLocalTimestamp (const LocalDateTime localTimestamp) |
Sets the localTimestamp field to localTimestamp. More... | |
| void | setTimestampMs (const quint16 timestampMs) |
Sets the timestampMs field to timestampMs. More... | |
| void | setSystemTimestampMs (const quint16 systemTimestampMs) |
Sets the systemTimestampMs field to systemTimestampMs. 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 | |
| TimestampCorrelationMessage (TimestampCorrelationMessagePrivate *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 TimestampCorrelationMessage class represents a FIT TimestampCorrelationMessage data message.
Definition at line 39 of file timestampcorrelationmessage.h.
| TimestampCorrelationMessage::TimestampCorrelationMessage | ( | ) |
Constructs a TimestampCorrelationMessage 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 timestampcorrelationmessage.cpp.
|
explicitprotected |
Constructs a TimestampCorrelationMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file timestampcorrelationmessage.cpp.
| quint16 TimestampCorrelationMessage::fractionalSystemTimestamp | ( | ) | const |
Returns the TimestampCorrelationMessage data message's fractionalSystemTimestamp field's current value.
Fractional part of the system timestamp
fractionalSystemTimestamp field value. Definition at line 115 of file timestampcorrelationmessage.cpp.
Referenced by setFractionalSystemTimestamp().
| quint16 TimestampCorrelationMessage::fractionalTimestamp | ( | ) | const |
Returns the TimestampCorrelationMessage data message's fractionalTimestamp field's current value.
Fractional part of the UTC timestamp at the time the system timestamp was recorded.
fractionalTimestamp field value. Definition at line 89 of file timestampcorrelationmessage.cpp.
Referenced by setFractionalTimestamp().
| LocalDateTime TimestampCorrelationMessage::localTimestamp | ( | ) | const |
Returns the TimestampCorrelationMessage data message's localTimestamp field's current value.
timestamp epoch expressed in local time used to convert timestamps to local time
localTimestamp field value. Definition at line 128 of file timestampcorrelationmessage.cpp.
Referenced by setLocalTimestamp().
| void TimestampCorrelationMessage::setFractionalSystemTimestamp | ( | const quint16 | fractionalSystemTimestamp | ) |
Sets the fractionalSystemTimestamp field to fractionalSystemTimestamp.
| fractionalSystemTimestamp | The field value to set. |
Definition at line 195 of file timestampcorrelationmessage.cpp.
References fractionalSystemTimestamp().
| void TimestampCorrelationMessage::setFractionalTimestamp | ( | const quint16 | fractionalTimestamp | ) |
Sets the fractionalTimestamp field to fractionalTimestamp.
| fractionalTimestamp | The field value to set. |
Definition at line 175 of file timestampcorrelationmessage.cpp.
References fractionalTimestamp().
| void TimestampCorrelationMessage::setLocalTimestamp | ( | const LocalDateTime | localTimestamp | ) |
Sets the localTimestamp field to localTimestamp.
| localTimestamp | The field value to set. |
Definition at line 205 of file timestampcorrelationmessage.cpp.
References localTimestamp().
| void TimestampCorrelationMessage::setSystemTimestamp | ( | const DateTime | systemTimestamp | ) |
Sets the systemTimestamp field to systemTimestamp.
| systemTimestamp | The field value to set. |
Definition at line 185 of file timestampcorrelationmessage.cpp.
References systemTimestamp().
| void TimestampCorrelationMessage::setSystemTimestampMs | ( | const quint16 | systemTimestampMs | ) |
Sets the systemTimestampMs field to systemTimestampMs.
| systemTimestampMs | The field value to set. |
Definition at line 225 of file timestampcorrelationmessage.cpp.
References systemTimestampMs().
| void TimestampCorrelationMessage::setTimestamp | ( | const DateTime | timestamp | ) |
Sets the timestamp field to timestamp.
| timestamp | The field value to set. |
Definition at line 165 of file timestampcorrelationmessage.cpp.
References timestamp().
| void TimestampCorrelationMessage::setTimestampMs | ( | const quint16 | timestampMs | ) |
Sets the timestampMs field to timestampMs.
| timestampMs | The field value to set. |
Definition at line 215 of file timestampcorrelationmessage.cpp.
References timestampMs().
| DateTime TimestampCorrelationMessage::systemTimestamp | ( | ) | const |
Returns the TimestampCorrelationMessage data message's systemTimestamp field's current value.
Whole second part of the system timestamp
systemTimestamp field value. Definition at line 102 of file timestampcorrelationmessage.cpp.
Referenced by setSystemTimestamp().
| quint16 TimestampCorrelationMessage::systemTimestampMs | ( | ) | const |
Returns the TimestampCorrelationMessage data message's systemTimestampMs field's current value.
Millisecond part of the system timestamp
systemTimestampMs field value. Definition at line 154 of file timestampcorrelationmessage.cpp.
Referenced by setSystemTimestampMs().
| DateTime TimestampCorrelationMessage::timestamp | ( | ) | const |
Returns the TimestampCorrelationMessage data message's timestamp field's current value.
Whole second part of UTC timestamp at the time the system timestamp was recorded.
timestamp field value. Definition at line 76 of file timestampcorrelationmessage.cpp.
Referenced by setTimestamp().
| quint16 TimestampCorrelationMessage::timestampMs | ( | ) | const |
Returns the TimestampCorrelationMessage data message's timestampMs field's current value.
Millisecond part of the UTC timestamp at the time the system timestamp was recorded.
timestampMs field value. Definition at line 141 of file timestampcorrelationmessage.cpp.
Referenced by setTimestampMs().