QtFit
0.1
Native Qt library for Garmin FIT format
|
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... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
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... | |
The TimestampCorrelationMessage class represents a FIT TimestampCorrelationMessage data message.
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.
quint16 TimestampCorrelationMessage::fractionalSystemTimestamp | ( | ) | const |
Returns the TimestampCorrelationMessage data message's fractionalSystemTimestamp
field's current value.
Fractional part of the system timestamp
fractionalSystemTimestamp
field value. 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. 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. void TimestampCorrelationMessage::setFractionalSystemTimestamp | ( | const quint16 | fractionalSystemTimestamp | ) |
Sets the fractionalSystemTimestamp
field to fractionalSystemTimestamp.
fractionalSystemTimestamp | The field value to set. |
void TimestampCorrelationMessage::setFractionalTimestamp | ( | const quint16 | fractionalTimestamp | ) |
Sets the fractionalTimestamp
field to fractionalTimestamp.
fractionalTimestamp | The field value to set. |
void TimestampCorrelationMessage::setLocalTimestamp | ( | const LocalDateTime | localTimestamp | ) |
Sets the localTimestamp
field to localTimestamp.
localTimestamp | The field value to set. |
void TimestampCorrelationMessage::setSystemTimestamp | ( | const DateTime | systemTimestamp | ) |
Sets the systemTimestamp
field to systemTimestamp.
systemTimestamp | The field value to set. |
void TimestampCorrelationMessage::setSystemTimestampMs | ( | const quint16 | systemTimestampMs | ) |
Sets the systemTimestampMs
field to systemTimestampMs.
systemTimestampMs | The field value to set. |
void TimestampCorrelationMessage::setTimestamp | ( | const DateTime | timestamp | ) |
Sets the timestamp
field to timestamp.
timestamp | The field value to set. |
void TimestampCorrelationMessage::setTimestampMs | ( | const quint16 | timestampMs | ) |
Sets the timestampMs
field to timestampMs.
timestampMs | The field value to set. |
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. quint16 TimestampCorrelationMessage::systemTimestampMs | ( | ) | const |
Returns the TimestampCorrelationMessage data message's systemTimestampMs
field's current value.
Millisecond part of the system timestamp
systemTimestampMs
field value. 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. 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.