QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCVideoStreamInfo Class Reference

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)
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)

Detailed Description

Encapsulates the contents of a VIDEO_STREAM_INFORMATION message.

Definition at line 11 of file QGCVideoStreamInfo.h.

Constructor & Destructor Documentation

◆ QGCVideoStreamInfo()

QGCVideoStreamInfo::QGCVideoStreamInfo ( const mavlink_video_stream_information_t & info,
QObject * parent = nullptr )
explicit

Definition at line 6 of file QGCVideoStreamInfo.cc.

References QGCVideoStreamInfo().

Referenced by QGCVideoStreamInfo().

Member Function Documentation

◆ aspectRatio()

qreal QGCVideoStreamInfo::aspectRatio ( ) const

Definition at line 14 of file QGCVideoStreamInfo.cc.

References resolution().

◆ bitrate()

uint32_t QGCVideoStreamInfo::bitrate ( ) const
inline

Definition at line 46 of file QGCVideoStreamInfo.h.

◆ encoding()

quint8 QGCVideoStreamInfo::encoding ( ) const
inline

Definition at line 41 of file QGCVideoStreamInfo.h.

◆ framerate()

qreal QGCVideoStreamInfo::framerate ( ) const
inline

Definition at line 47 of file QGCVideoStreamInfo.h.

◆ hfov()

quint16 QGCVideoStreamInfo::hfov ( ) const
inline

Definition at line 38 of file QGCVideoStreamInfo.h.

◆ infoChanged

void QGCVideoStreamInfo::infoChanged ( )
signal

◆ isActive()

bool QGCVideoStreamInfo::isActive ( ) const
inline

Definition at line 45 of file QGCVideoStreamInfo.h.

◆ isThermal()

bool QGCVideoStreamInfo::isThermal ( ) const
inline

◆ name()

QString QGCVideoStreamInfo::name ( ) const
inline

◆ resolution()

QSize QGCVideoStreamInfo::resolution ( ) const
inline

Definition at line 43 of file QGCVideoStreamInfo.h.

Referenced by aspectRatio().

◆ rotation()

quint16 QGCVideoStreamInfo::rotation ( ) const
inline

Definition at line 44 of file QGCVideoStreamInfo.h.

◆ streamID()

◆ type()

quint8 QGCVideoStreamInfo::type ( ) const
inline

Definition at line 39 of file QGCVideoStreamInfo.h.

◆ update()

bool QGCVideoStreamInfo::update ( const mavlink_video_stream_status_t & info)

Definition at line 23 of file QGCVideoStreamInfo.cc.

References infoChanged().

Referenced by VehicleCameraControl::handleVideoStreamStatus().

◆ uri()

QString QGCVideoStreamInfo::uri ( ) const
inline

Definition at line 35 of file QGCVideoStreamInfo.h.

Referenced by VideoStreamResolver::isAutoStream().


The documentation for this class was generated from the following files: