QtFit
0.1
Internal library development documentation
|
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... | |
Protected Member Functions | |
VideoFrameMessage (VideoFrameMessagePrivate *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 VideoFrameMessage class represents a FIT VideoFrameMessage data message.
Definition at line 39 of file videoframemessage.h.
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.
Definition at line 52 of file videoframemessage.cpp.
|
explicitprotected |
Constructs a VideoFrameMessage object with private implementation d.
d | Pointer to private implementation. |
Definition at line 64 of file videoframemessage.cpp.
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. Definition at line 102 of file videoframemessage.cpp.
Referenced by setFrameNumber().
void VideoFrameMessage::setFrameNumber | ( | const quint32 | frameNumber | ) |
Sets the frameNumber
field to frameNumber.
frameNumber | The field value to set. |
Definition at line 133 of file videoframemessage.cpp.
References frameNumber().
void VideoFrameMessage::setTimestamp | ( | const DateTime | timestamp | ) |
Sets the timestamp
field to timestamp.
timestamp | The field value to set. |
Definition at line 113 of file videoframemessage.cpp.
References timestamp().
void VideoFrameMessage::setTimestampMs | ( | const quint16 | timestampMs | ) |
Sets the timestampMs
field to timestampMs.
timestampMs | The field value to set. |
Definition at line 123 of file videoframemessage.cpp.
References timestampMs().
DateTime VideoFrameMessage::timestamp | ( | ) | const |
Returns the VideoFrameMessage data message's timestamp
field's current value.
Whole second part of the timestamp
timestamp
field value. Definition at line 76 of file videoframemessage.cpp.
Referenced by setTimestamp().
quint16 VideoFrameMessage::timestampMs | ( | ) | const |
Returns the VideoFrameMessage data message's timestampMs
field's current value.
Millisecond part of the timestamp.
timestampMs
field value. Definition at line 89 of file videoframemessage.cpp.
Referenced by setTimestampMs().