MythTV  master
Classes | Functions | Variables
diseqcsettings.cpp File Reference
#include <array>
#include <cmath>
#include <utility>
#include "libmythbase/mythdbcon.h"
#include "libmythbase/mythlogging.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 19 of file diseqcsettings.cpp.

Referenced by RotorConfig::RotorConfig().

◆ DiSEqCLongitude()

static GlobalTextEditSetting* DiSEqCLongitude ( void  )
static

Definition at line 29 of file diseqcsettings.cpp.

Referenced by RotorConfig::RotorConfig().

◆ AngleToString()

static QString AngleToString ( double  angle)
static

Definition at line 426 of file diseqcsettings.cpp.

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

◆ AngleToEdit()

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

Definition at line 442 of file diseqcsettings.cpp.

Referenced by USALSRotorSetting::Load().

◆ AngleToFloat()

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

Definition at line 454 of file diseqcsettings.cpp.

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

◆ FindPreset()

static uint FindPreset ( const DiSEqCDevLNB lnb)
static

Definition at line 716 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 697 of file diseqcsettings.cpp.

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

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