|
QGroundControl
Ground Control Station for MAVLink Drones
|
#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 |
Definition at line 7 of file VideoSettings.h.
| VideoSettings::VideoSettings | ( | QObject * | parent = nullptr | ) |
|
inline |
Definition at line 51 of file VideoSettings.h.
References videoDisabled.
|
inline |
Definition at line 50 of file VideoSettings.h.
References videoSourceMPEGTS.
|
inline |
Definition at line 46 of file VideoSettings.h.
References videoSourceRTSP.
| bool VideoSettings::streamConfigured | ( | void | ) |
Definition at line 226 of file VideoSettings.cc.
References UVCReceiver::deviceExists(), UVCReceiver::enabled(), VideoManager::instance(), videoDisabled, videoSourceHerelinkAirUnit, videoSourceHerelinkHotspot, videoSourceMPEGTS, videoSourceNoVideo, videoSourceRTSP, videoSourceTCP, videoSourceUDPH264, and videoSourceUDPH265.
Referenced by VideoManager::hasVideo().
|
signal |
|
inline |
Definition at line 49 of file VideoSettings.h.
References videoSourceTCP.
|
inline |
Definition at line 47 of file VideoSettings.h.
References videoSourceUDPH264.
|
inline |
Definition at line 48 of file VideoSettings.h.
References videoSourceUDPH265.
|
staticconstexpr |
Definition at line 54 of file VideoSettings.h.
Referenced by disabledVideoSource(), streamConfigured(), and Vehicle::Vehicle().
|
staticconstexpr |
Definition at line 60 of file VideoSettings.h.
Referenced by APMFirmwarePlugin::initializeVehicle(), and VideoManager::isStreamSource().
|
staticconstexpr |
Definition at line 63 of file VideoSettings.h.
Referenced by VideoManager::isStreamSource(), and streamConfigured().
|
staticconstexpr |
Definition at line 64 of file VideoSettings.h.
Referenced by VideoManager::isStreamSource(), and streamConfigured().
|
staticconstexpr |
Definition at line 59 of file VideoSettings.h.
Referenced by VideoManager::isStreamSource(), mpegtsVideoSource(), and streamConfigured().
|
staticconstexpr |
Definition at line 53 of file VideoSettings.h.
Referenced by streamConfigured().
|
staticconstexpr |
Definition at line 61 of file VideoSettings.h.
Referenced by VideoManager::isStreamSource().
|
staticconstexpr |
Definition at line 55 of file VideoSettings.h.
Referenced by VideoManager::isStreamSource(), rtspVideoSource(), and streamConfigured().
|
staticconstexpr |
Definition at line 58 of file VideoSettings.h.
Referenced by VideoManager::isStreamSource(), streamConfigured(), and tcpVideoSource().
|
staticconstexpr |
Definition at line 56 of file VideoSettings.h.
Referenced by VideoManager::isStreamSource(), streamConfigured(), udp264VideoSource(), and Vehicle::Vehicle().
|
staticconstexpr |
Definition at line 57 of file VideoSettings.h.
Referenced by VideoManager::isStreamSource(), streamConfigured(), and udp265VideoSource().
|
staticconstexpr |
Definition at line 62 of file VideoSettings.h.
Referenced by VideoManager::isStreamSource().