QtFit
0.1
Native Qt library for Garmin FIT format
|
The VideoFrameMessage class represents a FIT VideoFrameMessage data message. More...
Public Member Functions | |
VideoFrameMessage () | |
Constructs a VideoFrameMessage object. More... | |
DateTime | timestamp () const |
Returns the VideoFrameMessage data message's timestamp field's current value. More... | |
quint16 | timestampMs () const |
Returns the VideoFrameMessage data message's timestampMs field's current value. More... | |
quint32 | frameNumber () const |
Returns the VideoFrameMessage data message's frameNumber field's current value. More... | |
void | setTimestamp (const DateTime timestamp) |
Sets the timestamp field to timestamp. More... | |
void | setTimestampMs (const quint16 timestampMs) |
Sets the timestampMs field to timestampMs. More... | |
void | setFrameNumber (const quint32 frameNumber) |
Sets the frameNumber field to frameNumber. 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 VideoFrameMessage class represents a FIT VideoFrameMessage data message.
VideoFrameMessage::VideoFrameMessage | ( | ) |
Constructs a VideoFrameMessage 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.
quint32 VideoFrameMessage::frameNumber | ( | ) | const |
Returns the VideoFrameMessage data message's frameNumber
field's current value.
Number of the frame that the timestamp and timestamp_ms correlate to
frameNumber
field value. void VideoFrameMessage::setFrameNumber | ( | const quint32 | frameNumber | ) |
Sets the frameNumber
field to frameNumber.
frameNumber | The field value to set. |
void VideoFrameMessage::setTimestamp | ( | const DateTime | timestamp | ) |
Sets the timestamp
field to timestamp.
timestamp | The field value to set. |
void VideoFrameMessage::setTimestampMs | ( | const quint16 | timestampMs | ) |
Sets the timestampMs
field to timestampMs.
timestampMs | The field value to set. |
DateTime VideoFrameMessage::timestamp | ( | ) | const |
Returns the VideoFrameMessage data message's timestamp
field's current value.
Whole second part of the timestamp
timestamp
field value. quint16 VideoFrameMessage::timestampMs | ( | ) | const |
Returns the VideoFrameMessage data message's timestampMs
field's current value.
Millisecond part of the timestamp.
timestampMs
field value.