QtFit
0.1
Internal library development documentation
|
Public Member Functions | |
VideoFrameMessagePrivate (VideoFrameMessage *const q) | |
virtual | ~VideoFrameMessagePrivate () |
![]() | |
AbstractDataMessagePrivate (AbstractDataMessage *const q) | |
virtual | ~AbstractDataMessagePrivate () |
bool | setFields (const DataDefinition *const defn, const QByteArray &record) |
Public Attributes | |
DateTime | timestamp |
The VideoFrameMessage FIT message's timestamp field. More... | |
quint16 | timestampMs |
The VideoFrameMessage FIT message's timestampMs field. More... | |
quint32 | frameNumber |
The VideoFrameMessage FIT message's frameNumber field. More... | |
![]() | |
MesgNum | globalMessageNumber |
FIT Globla Message Number for this FIT Data Message. | |
Protected Member Functions | |
bool | setField (const int fieldId, const QByteArray &data, const FitBaseType baseType, const bool bigEndian) override |
![]() | |
bool | verify (const QByteArray &data, const FitBaseType actualType, const int expectedSize, const FitBaseType expectedType, const char *messageFieldName) |
Additional Inherited Members | |
![]() | |
AbstractDataMessage *const | q_ptr |
Internal q-pointer. | |
The VideoFrameMessagePrivate class provides private implementation for the VideoFrameMessage.
Definition at line 38 of file videoframemessage_p.h.
|
explicit |
Constructs a VideoFrameMessagePrivate object with public implementation q.
q | Pointer to public implementaton. |
Definition at line 158 of file videoframemessage.cpp.
References AbstractDataMessagePrivate::globalMessageNumber.
|
virtual |
Destroys the VideoFrameMessagePrivate object.
Definition at line 172 of file videoframemessage.cpp.
|
overrideprotectedvirtual |
Sets the value of the fieldId field.
Derived classes must implement this method to extract the baseType value from data, and assign the extracted value the fieldId field.
fieldId | The field number within the given FIT data message. |
data | The raw data to extract the field value from. |
baseType | The FIT base type for the field. |
bigEndian | Whether or not multibyte values in record are big-endian. |
true
if the field was set, or safely ignored; false
otherwise. Implements AbstractDataMessagePrivate.
Definition at line 177 of file videoframemessage.cpp.
References AbstractDataMessagePrivate::verify().
quint32 VideoFrameMessagePrivate::frameNumber |
The VideoFrameMessage FIT message's frameNumber field.
Number of the frame that the timestamp and timestamp_ms correlate to
Definition at line 60 of file videoframemessage_p.h.
DateTime VideoFrameMessagePrivate::timestamp |
The VideoFrameMessage FIT message's timestamp field.
Whole second part of the timestamp
Definition at line 46 of file videoframemessage_p.h.
quint16 VideoFrameMessagePrivate::timestampMs |
The VideoFrameMessage FIT message's timestampMs field.
Millisecond part of the timestamp.
Definition at line 53 of file videoframemessage_p.h.