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

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.

◆ ~QGCVideoStreamInfo()

QGCVideoStreamInfo::~QGCVideoStreamInfo ( )

Definition at line 14 of file QGCVideoStreamInfo.cc.

Member Function Documentation

◆ aspectRatio()

qreal QGCVideoStreamInfo::aspectRatio ( ) const

Definition at line 19 of file QGCVideoStreamInfo.cc.

References resolution().

Referenced by VideoManager::aspectRatio(), and VideoManager::thermalAspectRatio().

◆ bitrate()

uint32_t QGCVideoStreamInfo::bitrate ( ) const
inline

Definition at line 50 of file QGCVideoStreamInfo.h.

◆ encoding()

quint8 QGCVideoStreamInfo::encoding ( ) const
inline

Definition at line 45 of file QGCVideoStreamInfo.h.

◆ framerate()

qreal QGCVideoStreamInfo::framerate ( ) const
inline

Definition at line 51 of file QGCVideoStreamInfo.h.

◆ hfov()

quint16 QGCVideoStreamInfo::hfov ( ) const
inline

Definition at line 42 of file QGCVideoStreamInfo.h.

Referenced by VideoManager::hfov(), and VideoManager::thermalHfov().

◆ infoChanged

void QGCVideoStreamInfo::infoChanged ( )
signal

Referenced by update().

◆ isActive()

bool QGCVideoStreamInfo::isActive ( ) const
inline

Definition at line 49 of file QGCVideoStreamInfo.h.

◆ isThermal()

◆ name()

QString QGCVideoStreamInfo::name ( ) const
inline

◆ resolution()

QSize QGCVideoStreamInfo::resolution ( ) const
inline

Definition at line 47 of file QGCVideoStreamInfo.h.

Referenced by aspectRatio().

◆ rotation()

quint16 QGCVideoStreamInfo::rotation ( ) const
inline

Definition at line 48 of file QGCVideoStreamInfo.h.

◆ streamID()

◆ type()

quint8 QGCVideoStreamInfo::type ( ) const
inline

Definition at line 43 of file QGCVideoStreamInfo.h.

◆ update()

bool QGCVideoStreamInfo::update ( const mavlink_video_stream_status_t &  info)

Definition at line 28 of file QGCVideoStreamInfo.cc.

References infoChanged().

Referenced by VehicleCameraControl::handleVideoStreamStatus().

◆ uri()

QString QGCVideoStreamInfo::uri ( ) const
inline

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