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

#include <VideoSettings.h>

+ Inheritance diagram for VideoSettings:
+ Collaboration diagram for VideoSettings:

Signals

void streamConfiguredChanged (bool configured)
 
- Signals inherited from SettingsGroup
void userVisibleChanged ()
 

Public Member Functions

 VideoSettings (QObject *parent=nullptr)
 
bool streamConfigured ()
 
QString rtspVideoSource ()
 
QString udp264VideoSource ()
 
QString udp265VideoSource ()
 
QString tcpVideoSource ()
 
QString mpegtsVideoSource ()
 
QString disabledVideoSource ()
 
- Public Member Functions inherited from SettingsGroup
 SettingsGroup (const QString &name, const QString &settingsGroup, QObject *parent=nullptr)
 
virtual bool userVisible ()
 
virtual void setUserVisible (bool vis)
 
QString settingsGroup () const
 

Static Public Attributes

static constexpr const char * videoSourceNoVideo = QT_TRANSLATE_NOOP("VideoSettings", "No Video Available")
 
static constexpr const char * videoDisabled = QT_TRANSLATE_NOOP("VideoSettings", "Video Stream Disabled")
 
static constexpr const char * videoSourceRTSP = QT_TRANSLATE_NOOP("VideoSettings", "RTSP Video Stream")
 
static constexpr const char * videoSourceUDPH264 = QT_TRANSLATE_NOOP("VideoSettings", "UDP h.264 Video Stream")
 
static constexpr const char * videoSourceUDPH265 = QT_TRANSLATE_NOOP("VideoSettings", "UDP h.265 Video Stream")
 
static constexpr const char * videoSourceTCP = QT_TRANSLATE_NOOP("VideoSettings", "TCP-MPEG2 Video Stream")
 
static constexpr const char * videoSourceMPEGTS = QT_TRANSLATE_NOOP("VideoSettings", "MPEG-TS Video Stream")
 
static constexpr const char * videoSource3DRSolo = QT_TRANSLATE_NOOP("VideoSettings", "3DR Solo (requires restart)")
 
static constexpr const char * videoSourceParrotDiscovery = QT_TRANSLATE_NOOP("VideoSettings", "Parrot Discovery")
 
static constexpr const char * videoSourceYuneecMantisG = QT_TRANSLATE_NOOP("VideoSettings", "Yuneec Mantis G")
 
static constexpr const char * videoSourceHerelinkAirUnit = QT_TRANSLATE_NOOP("VideoSettings", "Herelink AirUnit")
 
static constexpr const char * videoSourceHerelinkHotspot = QT_TRANSLATE_NOOP("VideoSettings", "Herelink Hotspot")
 

Additional Inherited Members

- Protected Member Functions inherited from SettingsGroup
SettingsFact_createSettingsFact (const QString &factName)
 
- Protected Attributes inherited from SettingsGroup
bool _userVisible
 
QString _name
 
QString _settingsGroup
 
QMap< QString, FactMetaData * > _nameToMetaDataMap
 

Detailed Description

Definition at line 7 of file VideoSettings.h.

Constructor & Destructor Documentation

◆ VideoSettings()

VideoSettings::VideoSettings ( QObject *  parent = nullptr)

Member Function Documentation

◆ disabledVideoSource()

QString VideoSettings::disabledVideoSource ( )
inline

Definition at line 51 of file VideoSettings.h.

References videoDisabled.

◆ mpegtsVideoSource()

QString VideoSettings::mpegtsVideoSource ( )
inline

Definition at line 50 of file VideoSettings.h.

References videoSourceMPEGTS.

◆ rtspVideoSource()

QString VideoSettings::rtspVideoSource ( )
inline

Definition at line 46 of file VideoSettings.h.

References videoSourceRTSP.

◆ streamConfigured()

◆ streamConfiguredChanged

void VideoSettings::streamConfiguredChanged ( bool  configured)
signal

◆ tcpVideoSource()

QString VideoSettings::tcpVideoSource ( )
inline

Definition at line 49 of file VideoSettings.h.

References videoSourceTCP.

◆ udp264VideoSource()

QString VideoSettings::udp264VideoSource ( )
inline

Definition at line 47 of file VideoSettings.h.

References videoSourceUDPH264.

◆ udp265VideoSource()

QString VideoSettings::udp265VideoSource ( )
inline

Definition at line 48 of file VideoSettings.h.

References videoSourceUDPH265.

Member Data Documentation

◆ videoDisabled

constexpr const char* VideoSettings::videoDisabled = QT_TRANSLATE_NOOP("VideoSettings", "Video Stream Disabled")
staticconstexpr

Definition at line 54 of file VideoSettings.h.

Referenced by disabledVideoSource(), streamConfigured(), and Vehicle::Vehicle().

◆ videoSource3DRSolo

constexpr const char* VideoSettings::videoSource3DRSolo = QT_TRANSLATE_NOOP("VideoSettings", "3DR Solo (requires restart)")
staticconstexpr

◆ videoSourceHerelinkAirUnit

constexpr const char* VideoSettings::videoSourceHerelinkAirUnit = QT_TRANSLATE_NOOP("VideoSettings", "Herelink AirUnit")
staticconstexpr

Definition at line 63 of file VideoSettings.h.

Referenced by VideoManager::isStreamSource(), and streamConfigured().

◆ videoSourceHerelinkHotspot

constexpr const char* VideoSettings::videoSourceHerelinkHotspot = QT_TRANSLATE_NOOP("VideoSettings", "Herelink Hotspot")
staticconstexpr

Definition at line 64 of file VideoSettings.h.

Referenced by VideoManager::isStreamSource(), and streamConfigured().

◆ videoSourceMPEGTS

constexpr const char* VideoSettings::videoSourceMPEGTS = QT_TRANSLATE_NOOP("VideoSettings", "MPEG-TS Video Stream")
staticconstexpr

◆ videoSourceNoVideo

constexpr const char* VideoSettings::videoSourceNoVideo = QT_TRANSLATE_NOOP("VideoSettings", "No Video Available")
staticconstexpr

Definition at line 53 of file VideoSettings.h.

Referenced by streamConfigured().

◆ videoSourceParrotDiscovery

constexpr const char* VideoSettings::videoSourceParrotDiscovery = QT_TRANSLATE_NOOP("VideoSettings", "Parrot Discovery")
staticconstexpr

Definition at line 61 of file VideoSettings.h.

Referenced by VideoManager::isStreamSource().

◆ videoSourceRTSP

constexpr const char* VideoSettings::videoSourceRTSP = QT_TRANSLATE_NOOP("VideoSettings", "RTSP Video Stream")
staticconstexpr

Definition at line 55 of file VideoSettings.h.

Referenced by VideoManager::isStreamSource(), rtspVideoSource(), and streamConfigured().

◆ videoSourceTCP

constexpr const char* VideoSettings::videoSourceTCP = QT_TRANSLATE_NOOP("VideoSettings", "TCP-MPEG2 Video Stream")
staticconstexpr

Definition at line 58 of file VideoSettings.h.

Referenced by VideoManager::isStreamSource(), streamConfigured(), and tcpVideoSource().

◆ videoSourceUDPH264

constexpr const char* VideoSettings::videoSourceUDPH264 = QT_TRANSLATE_NOOP("VideoSettings", "UDP h.264 Video Stream")
staticconstexpr

◆ videoSourceUDPH265

constexpr const char* VideoSettings::videoSourceUDPH265 = QT_TRANSLATE_NOOP("VideoSettings", "UDP h.265 Video Stream")
staticconstexpr

◆ videoSourceYuneecMantisG

constexpr const char* VideoSettings::videoSourceYuneecMantisG = QT_TRANSLATE_NOOP("VideoSettings", "Yuneec Mantis G")
staticconstexpr

Definition at line 62 of file VideoSettings.h.

Referenced by VideoManager::isStreamSource().


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