QtFit
0.1
Internal library development documentation
|
The VideoClipMessage class represents a FIT VideoClipMessage data message. More...
Public Member Functions | |
VideoClipMessage () | |
Constructs a VideoClipMessage object. More... | |
quint16 | clipNumber () const |
Returns the VideoClipMessage data message's clipNumber field's current value. More... | |
DateTime | startTimestamp () const |
Returns the VideoClipMessage data message's startTimestamp field's current value. More... | |
quint16 | startTimestampMs () const |
Returns the VideoClipMessage data message's startTimestampMs field's current value. More... | |
DateTime | endTimestamp () const |
Returns the VideoClipMessage data message's endTimestamp field's current value. More... | |
quint16 | endTimestampMs () const |
Returns the VideoClipMessage data message's endTimestampMs field's current value. More... | |
quint32 | clipStart () const |
Returns the VideoClipMessage data message's clipStart field's current value. More... | |
quint32 | clipEnd () const |
Returns the VideoClipMessage data message's clipEnd field's current value. More... | |
void | setClipNumber (const quint16 clipNumber) |
Sets the clipNumber field to clipNumber. More... | |
void | setStartTimestamp (const DateTime startTimestamp) |
Sets the startTimestamp field to startTimestamp. More... | |
void | setStartTimestampMs (const quint16 startTimestampMs) |
Sets the startTimestampMs field to startTimestampMs. More... | |
void | setEndTimestamp (const DateTime endTimestamp) |
Sets the endTimestamp field to endTimestamp. More... | |
void | setEndTimestampMs (const quint16 endTimestampMs) |
Sets the endTimestampMs field to endTimestampMs. More... | |
void | setClipStart (const quint32 clipStart) |
Sets the clipStart field to clipStart. More... | |
void | setClipEnd (const quint32 clipEnd) |
Sets the clipEnd field to clipEnd. More... | |
![]() | |
~AbstractDataMessage () | |
Destroys the AbstractDataMessage object. | |
MesgNum | globalMessageNumber () const |
Returns the data message's global message number. More... | |
Protected Member Functions | |
VideoClipMessage (VideoClipMessagePrivate *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 VideoClipMessage class represents a FIT VideoClipMessage data message.
Definition at line 39 of file videoclipmessage.h.
VideoClipMessage::VideoClipMessage | ( | ) |
Constructs a VideoClipMessage 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 videoclipmessage.cpp.
|
explicitprotected |
Constructs a VideoClipMessage object with private implementation d.
d | Pointer to private implementation. |
Definition at line 64 of file videoclipmessage.cpp.
quint32 VideoClipMessage::clipEnd | ( | ) | const |
Returns the VideoClipMessage data message's clipEnd
field's current value.
End of clip in video time
clipEnd
field value. Definition at line 144 of file videoclipmessage.cpp.
Referenced by setClipEnd().
quint16 VideoClipMessage::clipNumber | ( | ) | const |
Returns the VideoClipMessage data message's clipNumber
field's current value.
clipNumber
field value. Definition at line 74 of file videoclipmessage.cpp.
Referenced by setClipNumber().
quint32 VideoClipMessage::clipStart | ( | ) | const |
Returns the VideoClipMessage data message's clipStart
field's current value.
Start of clip in video time
clipStart
field value. Definition at line 131 of file videoclipmessage.cpp.
Referenced by setClipStart().
DateTime VideoClipMessage::endTimestamp | ( | ) | const |
Returns the VideoClipMessage data message's endTimestamp
field's current value.
endTimestamp
field value. Definition at line 107 of file videoclipmessage.cpp.
Referenced by setEndTimestamp().
quint16 VideoClipMessage::endTimestampMs | ( | ) | const |
Returns the VideoClipMessage data message's endTimestampMs
field's current value.
endTimestampMs
field value. Definition at line 118 of file videoclipmessage.cpp.
Referenced by setEndTimestampMs().
void VideoClipMessage::setClipEnd | ( | const quint32 | clipEnd | ) |
Sets the clipEnd
field to clipEnd.
clipEnd | The field value to set. |
Definition at line 215 of file videoclipmessage.cpp.
References clipEnd().
void VideoClipMessage::setClipNumber | ( | const quint16 | clipNumber | ) |
Sets the clipNumber
field to clipNumber.
clipNumber | The field value to set. |
Definition at line 155 of file videoclipmessage.cpp.
References clipNumber().
void VideoClipMessage::setClipStart | ( | const quint32 | clipStart | ) |
Sets the clipStart
field to clipStart.
clipStart | The field value to set. |
Definition at line 205 of file videoclipmessage.cpp.
References clipStart().
void VideoClipMessage::setEndTimestamp | ( | const DateTime | endTimestamp | ) |
Sets the endTimestamp
field to endTimestamp.
endTimestamp | The field value to set. |
Definition at line 185 of file videoclipmessage.cpp.
References endTimestamp().
void VideoClipMessage::setEndTimestampMs | ( | const quint16 | endTimestampMs | ) |
Sets the endTimestampMs
field to endTimestampMs.
endTimestampMs | The field value to set. |
Definition at line 195 of file videoclipmessage.cpp.
References endTimestampMs().
void VideoClipMessage::setStartTimestamp | ( | const DateTime | startTimestamp | ) |
Sets the startTimestamp
field to startTimestamp.
startTimestamp | The field value to set. |
Definition at line 165 of file videoclipmessage.cpp.
References startTimestamp().
void VideoClipMessage::setStartTimestampMs | ( | const quint16 | startTimestampMs | ) |
Sets the startTimestampMs
field to startTimestampMs.
startTimestampMs | The field value to set. |
Definition at line 175 of file videoclipmessage.cpp.
References startTimestampMs().
DateTime VideoClipMessage::startTimestamp | ( | ) | const |
Returns the VideoClipMessage data message's startTimestamp
field's current value.
startTimestamp
field value. Definition at line 85 of file videoclipmessage.cpp.
Referenced by setStartTimestamp().
quint16 VideoClipMessage::startTimestampMs | ( | ) | const |
Returns the VideoClipMessage data message's startTimestampMs
field's current value.
startTimestampMs
field value. Definition at line 96 of file videoclipmessage.cpp.
Referenced by setStartTimestampMs().