|
QtFit
0.1
Internal library development documentation
|
The VideoMessage class represents a FIT VideoMessage data message. More...
Public Member Functions | |
| VideoMessage () | |
| Constructs a VideoMessage object. More... | |
| QString | url () const |
Returns the VideoMessage data message's url field's current value. More... | |
| QString | hostingProvider () const |
Returns the VideoMessage data message's hostingProvider field's current value. More... | |
| quint32 | duration () const |
Returns the VideoMessage data message's duration field's current value. More... | |
| void | setUrl (const QString url) |
Sets the url field to url. More... | |
| void | setHostingProvider (const QString hostingProvider) |
Sets the hostingProvider field to hostingProvider. More... | |
| void | setDuration (const quint32 duration) |
Sets the duration field to duration. More... | |
Public Member Functions inherited from AbstractDataMessage | |
| ~AbstractDataMessage () | |
| Destroys the AbstractDataMessage object. | |
| MesgNum | globalMessageNumber () const |
| Returns the data message's global message number. More... | |
Protected Member Functions | |
| VideoMessage (VideoMessagePrivate *const d) | |
Protected Member Functions inherited from AbstractDataMessage | |
| AbstractDataMessage (AbstractDataMessagePrivate *const d) | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractDataMessage | |
| static AbstractDataMessage * | fromData (const DataDefinition *const defn, const QByteArray &record) |
| Constructs the relevant AbstractDataMessage-derived class to parse record according to defn. More... | |
Protected Attributes inherited from AbstractDataMessage | |
| AbstractDataMessagePrivate *const | d_ptr |
| Internal d-pointer. | |
The VideoMessage class represents a FIT VideoMessage data message.
Definition at line 39 of file videomessage.h.
| VideoMessage::VideoMessage | ( | ) |
Constructs a VideoMessage 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 videomessage.cpp.
|
explicitprotected |
Constructs a VideoMessage object with private implementation d.
| d | Pointer to private implementation. |
Definition at line 64 of file videomessage.cpp.
| quint32 VideoMessage::duration | ( | ) | const |
Returns the VideoMessage data message's duration field's current value.
Playback time of video
duration field value. Definition at line 98 of file videomessage.cpp.
Referenced by setDuration().
| QString VideoMessage::hostingProvider | ( | ) | const |
Returns the VideoMessage data message's hostingProvider field's current value.
hostingProvider field value. Definition at line 85 of file videomessage.cpp.
Referenced by setHostingProvider().
| void VideoMessage::setDuration | ( | const quint32 | duration | ) |
Sets the duration field to duration.
| duration | The field value to set. |
Definition at line 129 of file videomessage.cpp.
References duration().
| void VideoMessage::setHostingProvider | ( | const QString | hostingProvider | ) |
Sets the hostingProvider field to hostingProvider.
| hostingProvider | The field value to set. |
Definition at line 119 of file videomessage.cpp.
References hostingProvider().
| void VideoMessage::setUrl | ( | const QString | url | ) |
Sets the url field to url.
| url | The field value to set. |
Definition at line 109 of file videomessage.cpp.
References url().
| QString VideoMessage::url | ( | ) | const |
Returns the VideoMessage data message's url field's current value.
url field value. Definition at line 74 of file videomessage.cpp.
Referenced by setUrl().