SoDaRadio-5.0.3-master:8901fb5
Public Member Functions | Protected Attributes | List of all members
GUISoDa::Band Class Reference

#include <soda_band.hpp>

Public Member Functions

 Band ()
 
void restore (QSettings *set_p)
 
void save (QSettings *set_p) const
 
const QString & name () const
 
int index () const
 
const QString & defRXAnt () const
 
const QString & defTXAnt () const
 
const QString & defMode () const
 
double minFreq () const
 
double maxFreq () const
 
double lastRXFreq () const
 
double lastTXFreq () const
 
double tvLOFreq () const
 
double tvLOMult () const
 
bool txEna () const
 
bool tverterEna () const
 
bool tverterLowInjection () const
 
void setName (const QString &v)
 
void setIndex (int v)
 
void setDefRXAnt (const QString &v)
 
void setDefTXAnt (const QString &v)
 
void setDefMode (const QString &v)
 
void setMinFreq (double v)
 
void setMaxFreq (double v)
 
void setLastRXFreq (double v)
 
void setLastTXFreq (double v)
 
void setTvLOFreq (double v)
 
void setTvLOMult (double v)
 
void setTxEna (bool v)
 
void setTverterEna (bool v)
 
void setTverterLowInjection (bool v)
 
bool isInBand (double freq) const
 

Protected Attributes

QString band_name
 
int band_index
 
QString def_rx_ant
 
QString def_tx_ant
 
double min_freq
 
double max_freq
 
QString def_mode
 
bool tx_enabled
 
bool tverter_mode
 
bool lowside_injection
 
double tv_LO_freq
 
double tv_LO_mult
 
double last_rx_freq
 
double last_tx_freq
 

Detailed Description

Definition at line 38 of file soda_band.hpp.

Constructor & Destructor Documentation

◆ Band()

GUISoDa::Band::Band ( )
inline

Definition at line 40 of file soda_band.hpp.

Member Function Documentation

◆ defMode()

const QString& GUISoDa::Band::defMode ( ) const
inline

Definition at line 87 of file soda_band.hpp.

References def_mode.

Referenced by MainWindow::fillBandMapEntry().

◆ defRXAnt()

const QString& GUISoDa::Band::defRXAnt ( ) const
inline

Definition at line 85 of file soda_band.hpp.

References def_rx_ant.

Referenced by MainWindow::fillBandMapEntry().

◆ defTXAnt()

const QString& GUISoDa::Band::defTXAnt ( ) const
inline

Definition at line 86 of file soda_band.hpp.

References def_tx_ant.

Referenced by MainWindow::fillBandMapEntry().

◆ index()

int GUISoDa::Band::index ( ) const
inline

Definition at line 84 of file soda_band.hpp.

References band_index.

Referenced by MainWindow::fillBandMapEntry().

◆ isInBand()

bool GUISoDa::Band::isInBand ( double  freq) const
inline

Definition at line 116 of file soda_band.hpp.

References max_freq, and min_freq.

◆ lastRXFreq()

double GUISoDa::Band::lastRXFreq ( ) const
inline

Definition at line 90 of file soda_band.hpp.

References last_rx_freq.

◆ lastTXFreq()

double GUISoDa::Band::lastTXFreq ( ) const
inline

Definition at line 91 of file soda_band.hpp.

References last_tx_freq.

◆ maxFreq()

double GUISoDa::Band::maxFreq ( ) const
inline

Definition at line 89 of file soda_band.hpp.

References max_freq.

Referenced by MainWindow::fillBandMapEntry().

◆ minFreq()

double GUISoDa::Band::minFreq ( ) const
inline

Definition at line 88 of file soda_band.hpp.

References min_freq.

Referenced by MainWindow::fillBandMapEntry(), and MainWindow::saveCurrentFreqs().

◆ name()

const QString& GUISoDa::Band::name ( ) const
inline

Definition at line 83 of file soda_band.hpp.

References band_name.

Referenced by GUISoDa::BandMap::restoreBands().

◆ restore()

void GUISoDa::Band::restore ( QSettings *  set_p)
inline

◆ save()

void GUISoDa::Band::save ( QSettings *  set_p) const
inline

◆ setDefMode()

void GUISoDa::Band::setDefMode ( const QString &  v)
inline

Definition at line 103 of file soda_band.hpp.

References def_mode.

Referenced by MainWindow::writeBandMapEntry().

◆ setDefRXAnt()

void GUISoDa::Band::setDefRXAnt ( const QString &  v)
inline

Definition at line 101 of file soda_band.hpp.

References def_rx_ant.

Referenced by MainWindow::writeBandMapEntry().

◆ setDefTXAnt()

void GUISoDa::Band::setDefTXAnt ( const QString &  v)
inline

Definition at line 102 of file soda_band.hpp.

References def_tx_ant.

Referenced by MainWindow::writeBandMapEntry().

◆ setIndex()

void GUISoDa::Band::setIndex ( int  v)
inline

Definition at line 100 of file soda_band.hpp.

References band_index.

Referenced by MainWindow::writeBandMapEntry().

◆ setLastRXFreq()

void GUISoDa::Band::setLastRXFreq ( double  v)
inline

Definition at line 107 of file soda_band.hpp.

References last_rx_freq.

Referenced by MainWindow::writeBandMapEntry().

◆ setLastTXFreq()

void GUISoDa::Band::setLastTXFreq ( double  v)
inline

Definition at line 108 of file soda_band.hpp.

References last_tx_freq.

Referenced by MainWindow::writeBandMapEntry().

◆ setMaxFreq()

void GUISoDa::Band::setMaxFreq ( double  v)
inline

Definition at line 106 of file soda_band.hpp.

References max_freq.

Referenced by MainWindow::writeBandMapEntry().

◆ setMinFreq()

void GUISoDa::Band::setMinFreq ( double  v)
inline

Definition at line 105 of file soda_band.hpp.

References min_freq.

Referenced by MainWindow::writeBandMapEntry().

◆ setName()

void GUISoDa::Band::setName ( const QString &  v)
inline

Definition at line 99 of file soda_band.hpp.

References band_name.

Referenced by MainWindow::writeBandMapEntry().

◆ setTverterEna()

void GUISoDa::Band::setTverterEna ( bool  v)
inline

Definition at line 112 of file soda_band.hpp.

References tverter_mode.

Referenced by MainWindow::writeBandMapEntry().

◆ setTverterLowInjection()

void GUISoDa::Band::setTverterLowInjection ( bool  v)
inline

Definition at line 113 of file soda_band.hpp.

References lowside_injection.

Referenced by MainWindow::writeBandMapEntry().

◆ setTvLOFreq()

void GUISoDa::Band::setTvLOFreq ( double  v)
inline

Definition at line 109 of file soda_band.hpp.

References tv_LO_freq.

Referenced by MainWindow::writeBandMapEntry().

◆ setTvLOMult()

void GUISoDa::Band::setTvLOMult ( double  v)
inline

Definition at line 110 of file soda_band.hpp.

References tv_LO_mult.

Referenced by MainWindow::writeBandMapEntry().

◆ setTxEna()

void GUISoDa::Band::setTxEna ( bool  v)
inline

Definition at line 111 of file soda_band.hpp.

References tx_enabled.

Referenced by MainWindow::writeBandMapEntry().

◆ tverterEna()

bool GUISoDa::Band::tverterEna ( ) const
inline

Definition at line 96 of file soda_band.hpp.

References tverter_mode.

Referenced by MainWindow::fillBandMapEntry().

◆ tverterLowInjection()

bool GUISoDa::Band::tverterLowInjection ( ) const
inline

Definition at line 97 of file soda_band.hpp.

References lowside_injection.

Referenced by MainWindow::fillBandMapEntry().

◆ tvLOFreq()

double GUISoDa::Band::tvLOFreq ( ) const
inline

Definition at line 93 of file soda_band.hpp.

References tv_LO_freq.

Referenced by MainWindow::fillBandMapEntry().

◆ tvLOMult()

double GUISoDa::Band::tvLOMult ( ) const
inline

Definition at line 94 of file soda_band.hpp.

References tv_LO_mult.

Referenced by MainWindow::fillBandMapEntry().

◆ txEna()

bool GUISoDa::Band::txEna ( ) const
inline

Definition at line 95 of file soda_band.hpp.

References tx_enabled.

Referenced by MainWindow::fillBandMapEntry().

Member Data Documentation

◆ band_index

int GUISoDa::Band::band_index
protected

Definition at line 126 of file soda_band.hpp.

Referenced by index(), restore(), save(), and setIndex().

◆ band_name

QString GUISoDa::Band::band_name
protected

Definition at line 125 of file soda_band.hpp.

Referenced by name(), restore(), save(), and setName().

◆ def_mode

QString GUISoDa::Band::def_mode
protected

Definition at line 131 of file soda_band.hpp.

Referenced by defMode(), restore(), save(), and setDefMode().

◆ def_rx_ant

QString GUISoDa::Band::def_rx_ant
protected

Definition at line 127 of file soda_band.hpp.

Referenced by defRXAnt(), restore(), save(), and setDefRXAnt().

◆ def_tx_ant

QString GUISoDa::Band::def_tx_ant
protected

Definition at line 128 of file soda_band.hpp.

Referenced by defTXAnt(), restore(), save(), and setDefTXAnt().

◆ last_rx_freq

double GUISoDa::Band::last_rx_freq
protected

Definition at line 137 of file soda_band.hpp.

Referenced by lastRXFreq(), restore(), save(), and setLastRXFreq().

◆ last_tx_freq

double GUISoDa::Band::last_tx_freq
protected

Definition at line 138 of file soda_band.hpp.

Referenced by lastTXFreq(), restore(), save(), and setLastTXFreq().

◆ lowside_injection

bool GUISoDa::Band::lowside_injection
protected

Definition at line 134 of file soda_band.hpp.

Referenced by restore(), save(), setTverterLowInjection(), and tverterLowInjection().

◆ max_freq

double GUISoDa::Band::max_freq
protected

Definition at line 130 of file soda_band.hpp.

Referenced by isInBand(), maxFreq(), restore(), save(), and setMaxFreq().

◆ min_freq

double GUISoDa::Band::min_freq
protected

Definition at line 129 of file soda_band.hpp.

Referenced by isInBand(), minFreq(), restore(), save(), and setMinFreq().

◆ tv_LO_freq

double GUISoDa::Band::tv_LO_freq
protected

Definition at line 135 of file soda_band.hpp.

Referenced by restore(), save(), setTvLOFreq(), and tvLOFreq().

◆ tv_LO_mult

double GUISoDa::Band::tv_LO_mult
protected

Definition at line 136 of file soda_band.hpp.

Referenced by restore(), save(), setTvLOMult(), and tvLOMult().

◆ tverter_mode

bool GUISoDa::Band::tverter_mode
protected

Definition at line 133 of file soda_band.hpp.

Referenced by restore(), save(), setTverterEna(), and tverterEna().

◆ tx_enabled

bool GUISoDa::Band::tx_enabled
protected

Definition at line 132 of file soda_band.hpp.

Referenced by restore(), save(), setTxEna(), and txEna().


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