MythTV  master
Classes | Functions | Variables
diseqcsettings.cpp File Reference
#include <array>
#include <cmath>
#include <utility>
#include "libmythbase/mythdbcon.h"
#include "diseqcsettings.h"
Include dependency graph for diseqcsettings.cpp:

Go to the source code of this file.

Classes

class  DeviceTypeSetting
 
class  DeviceDescrSetting
 
class  DeviceRepeatSetting
 
class  SwitchTypeSetting
 
class  SwitchAddressSetting
 
class  SwitchPortsSetting
 
class  RotorTypeSetting
 
class  RotorLoSpeedSetting
 
class  RotorHiSpeedSetting
 
class  RotorPosTextEdit
 
class  SCRUserBandSetting
 
class  SCRFrequencySetting
 
class  SCRPINSetting
 
class  lnb_preset
 
class  LNBPresetSetting
 
class  LNBTypeSetting
 
class  LNBLOFSwitchSetting
 
class  LNBLOFLowSetting
 
class  LNBLOFHighSetting
 
class  LNBPolarityInvertedSetting
 
class  SwitchSetting
 
class  RotorSetting
 
class  USALSRotorSetting
 
class  SCRPositionSetting
 

Functions

static GlobalTextEditSettingDiSEqCLatitude (void)
 
static GlobalTextEditSettingDiSEqCLongitude (void)
 
static QString AngleToString (double angle)
 
static double AngleToEdit (double angle, QString &hemi)
 
static double AngleToFloat (const QString &angle, bool translated=true)
 
static uint FindPreset (const DiSEqCDevLNB &lnb)
 

Variables

static const std::array< const lnb_preset, 7 > lnb_presets
 

Function Documentation

◆ DiSEqCLatitude()

static GlobalTextEditSetting* DiSEqCLatitude ( void  )
static

Definition at line 18 of file diseqcsettings.cpp.

Referenced by RotorConfig::RotorConfig().

◆ DiSEqCLongitude()

static GlobalTextEditSetting* DiSEqCLongitude ( void  )
static

Definition at line 28 of file diseqcsettings.cpp.

Referenced by RotorConfig::RotorConfig().

◆ AngleToString()

static QString AngleToString ( double  angle)
static

Definition at line 425 of file diseqcsettings.cpp.

Referenced by RotorSetting::Load(), and RotorPosMap::PopulateList().

◆ AngleToEdit()

static double AngleToEdit ( double  angle,
QString &  hemi 
)
static

Definition at line 441 of file diseqcsettings.cpp.

Referenced by USALSRotorSetting::Load().

◆ AngleToFloat()

static double AngleToFloat ( const QString &  angle,
bool  translated = true 
)
static

Definition at line 453 of file diseqcsettings.cpp.

Referenced by RotorPosMap::newValue(), and USALSRotorSetting::Save().

◆ FindPreset()

static uint FindPreset ( const DiSEqCDevLNB lnb)
static

Definition at line 717 of file diseqcsettings.cpp.

Referenced by LNBPresetSetting::Load().

Variable Documentation

◆ lnb_presets

const std::array<const lnb_preset,7> lnb_presets
static
Initial value:
{
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "Universal (Europe)"),
11700000, 9750000, 10600000),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "Single (Europe)"),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "Circular (N. America)"),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "Linear (N. America)"),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "C Band"),
lnb_preset(QT_TRANSLATE_NOOP("DeviceTree", "DishPro Bandstacked"),
DiSEqCDevLNB::kTypeBandstacked, 0, 11250000, 14350000),
}

Definition at line 698 of file diseqcsettings.cpp.

Referenced by FindPreset(), LNBPresetSetting::LNBPresetSetting(), and LNBConfig::SetPreset().

DiSEqCDevLNB::kTypeVoltageControl
@ kTypeVoltageControl
Definition: diseqc.h:461
DiSEqCDevLNB::kTypeVoltageAndToneControl
@ kTypeVoltageAndToneControl
Definition: diseqc.h:462
DiSEqCDevLNB::kTypeBandstacked
@ kTypeBandstacked
Definition: diseqc.h:463
lnb_preset
Definition: diseqcsettings.cpp:678