Encapsulates the contents of a VIDEO_STREAM_INFORMATION message. More...
#include <QGCVideoStreamInfo.h>
Signals | |
| void | infoChanged () |
Public Member Functions | |
| QGCVideoStreamInfo (const mavlink_video_stream_information_t &info, QObject *parent=nullptr) | |
| QString | uri () const |
| QString | name () const |
| qreal | aspectRatio () const |
| quint16 | hfov () const |
| quint8 | type () const |
| quint8 | streamID () const |
| quint8 | encoding () const |
| bool | isThermal () const |
| QSize | resolution () const |
| quint16 | rotation () const |
| bool | isActive () const |
| uint32_t | bitrate () const |
| qreal | framerate () const |
| bool | update (const mavlink_video_stream_status_t &info) |
Encapsulates the contents of a VIDEO_STREAM_INFORMATION message.
Definition at line 11 of file QGCVideoStreamInfo.h.
|
explicit |
Definition at line 6 of file QGCVideoStreamInfo.cc.
References QGCVideoStreamInfo().
Referenced by QGCVideoStreamInfo().
| qreal QGCVideoStreamInfo::aspectRatio | ( | ) | const |
Definition at line 14 of file QGCVideoStreamInfo.cc.
References resolution().
|
inline |
Definition at line 46 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 41 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 47 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 38 of file QGCVideoStreamInfo.h.
|
signal |
Referenced by VideoStreamController::setStreamInfo(), and update().
|
inline |
Definition at line 45 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 42 of file QGCVideoStreamInfo.h.
Referenced by VehicleCameraControl::handleVideoStreamInformation(), and VehicleCameraControl::thermalStreamInstance().
|
inline |
Definition at line 36 of file QGCVideoStreamInfo.h.
Referenced by VehicleCameraControl::_findStream(), and VehicleCameraControl::handleVideoStreamInformation().
|
inline |
Definition at line 43 of file QGCVideoStreamInfo.h.
Referenced by aspectRatio().
|
inline |
Definition at line 44 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 40 of file QGCVideoStreamInfo.h.
Referenced by VehicleCameraControl::_findStream(), VehicleCameraControl::_streamStatusTimeout(), VehicleCameraControl::handleVideoStreamInformation(), VehicleCameraControl::resumeStream(), VehicleCameraControl::setCurrentStream(), and VehicleCameraControl::stopStream().
|
inline |
Definition at line 39 of file QGCVideoStreamInfo.h.
| bool QGCVideoStreamInfo::update | ( | const mavlink_video_stream_status_t & | info | ) |
Definition at line 23 of file QGCVideoStreamInfo.cc.
References infoChanged().
Referenced by VehicleCameraControl::handleVideoStreamStatus().
|
inline |
Definition at line 35 of file QGCVideoStreamInfo.h.
Referenced by VideoStreamResolver::isAutoStream().