|
QGroundControl
Ground Control Station for MAVLink Drones
|
Encapsulates the contents of a VIDEO_STREAM_INFORMATION message. More...
#include <QGCVideoStreamInfo.h>
Inheritance diagram for QGCVideoStreamInfo:
Collaboration diagram for QGCVideoStreamInfo:Signals | |
| void | infoChanged () |
Public Member Functions | |
| QGCVideoStreamInfo (const mavlink_video_stream_information_t &info, QObject *parent=nullptr) | |
| ~QGCVideoStreamInfo () | |
| 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.
| QGCVideoStreamInfo::~QGCVideoStreamInfo | ( | ) |
Definition at line 14 of file QGCVideoStreamInfo.cc.
| qreal QGCVideoStreamInfo::aspectRatio | ( | ) | const |
Definition at line 19 of file QGCVideoStreamInfo.cc.
References resolution().
Referenced by VideoManager::aspectRatio(), and VideoManager::thermalAspectRatio().
|
inline |
Definition at line 50 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 45 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 51 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 42 of file QGCVideoStreamInfo.h.
Referenced by VideoManager::hfov(), and VideoManager::thermalHfov().
|
signal |
Referenced by update().
|
inline |
Definition at line 49 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 46 of file QGCVideoStreamInfo.h.
Referenced by VideoManager::aspectRatio(), VideoManager::autoStreamConfigured(), VehicleCameraControl::handleVideoStreamInformation(), VideoManager::hasThermal(), VideoManager::hfov(), VideoManager::thermalAspectRatio(), VideoManager::thermalHfov(), and VehicleCameraControl::thermalStreamInstance().
|
inline |
Definition at line 40 of file QGCVideoStreamInfo.h.
Referenced by VehicleCameraControl::_findStream(), and VehicleCameraControl::handleVideoStreamInformation().
|
inline |
Definition at line 47 of file QGCVideoStreamInfo.h.
Referenced by aspectRatio().
|
inline |
Definition at line 48 of file QGCVideoStreamInfo.h.
|
inline |
Definition at line 44 of file QGCVideoStreamInfo.h.
Referenced by VehicleCameraControl::_findStream(), VehicleCameraControl::_streamStatusTimeout(), VehicleCameraControl::resumeStream(), VehicleCameraControl::setCurrentStream(), and VehicleCameraControl::stopStream().
|
inline |
Definition at line 43 of file QGCVideoStreamInfo.h.
| bool QGCVideoStreamInfo::update | ( | const mavlink_video_stream_status_t & | info | ) |
Definition at line 28 of file QGCVideoStreamInfo.cc.
References infoChanged().
Referenced by VehicleCameraControl::handleVideoStreamStatus().
|
inline |
Definition at line 39 of file QGCVideoStreamInfo.h.
Referenced by VideoManager::autoStreamConfigured(), and VehicleCameraControl::setCurrentStream().