General Purpose Geodetic Library
SgChannelSetup Class Reference

#include <SgStnLogCollector.h>

Public Types

enum  HwType {
  HT_UNDEF = 0 , HT_VC = 1 , HT_BBC = 2 , HT_NN = 3 ,
  HT_VGOS = 4
}
 
enum  BackEndType {
  BET_UNDEF = 0 , BET_NONE = 1 , BET_DBBC = 2 , BET_DBBC3 = 3 ,
  BET_RDBE = 4 , BET_OTHER = 5
}
 

Public Member Functions

 SgChannelSetup ()
 
 ~SgChannelSetup ()
 
HwType getHwType () const
 
BackEndType getBackEndType () const
 
bool isOk () const
 
QMap< int, double > & bbcFreqByIdx ()
 
QMap< int, double > & bbcBandwidthByIdx ()
 
QMap< int, QString > & loIdByIdx ()
 
QMap< QString, QString > & loIdByCid ()
 
QMap< QString, double > & loFreqById ()
 
QMap< QString, SgChannelSideBand > & loSideBandById ()
 
QMap< QString, SgChannelPolarization > & loPolarizationById ()
 
QMap< QString, QString > & loIdBySensorKey ()
 
QMap< QString, double > & loFreqBySensorKey ()
 
QMap< QString, SgChannelSideBand > & loSideBandBySensorKey ()
 
QMap< QString, SgChannelPolarization > & loPolarizationBySensorKey ()
 
QMap< QString, double > & ifFreqBySensorKey ()
 
QMap< QString, double > & ifBandwidthBySensorKey ()
 
QMap< QString, SgChannelPolarization > & ifPolarizationById ()
 
QMap< QString, int > & ifIdxById ()
 
QMap< QString, SgChannelSideBand > & ifSideBandById ()
 
QMap< int, double > & ifFreqByIdx ()
 
QMap< QString, QList< QString > > & origSensorIdById ()
 
QMap< QString, QString > & ifIdBySensorKey ()
 
QMap< QString, QString > & pcalIdByKey ()
 
QMap< QString, SgChannelPolarization > & pcalPolarizationById ()
 
QMap< QString, QString > & xpsIdByKey ()
 
void setHwType (HwType tp)
 
void setBackEndType (BackEndType tp)
 
bool selfCheck (const QString &stnKey)
 

Static Public Member Functions

static const QString className ()
 
static double calcSkyFreq (double loFreq, double bbcFreq, double width, SgChannelSideBand loSideBand, SgChannelSideBand ifSideBand)
 

Private Attributes

QMap< int, double > bbcFreqByIdx_
 
QMap< int, double > bbcBandwidthByIdx_
 
QMap< int, QString > loIdByIdx_
 
QMap< QString, QString > loIdByCid_
 
QMap< QString, double > loFreqById_
 
QMap< QString, SgChannelSideBandloSideBandById_
 
QMap< QString, SgChannelPolarizationloPolarizationById_
 
QMap< QString, QString > loIdBySensorKey_
 
QMap< QString, double > loFreqBySensorKey_
 
QMap< QString, SgChannelSideBandloSideBandBySensorKey_
 
QMap< QString, SgChannelPolarizationloPolarizationBySensorKey_
 
QMap< QString, double > ifFreqBySensorKey_
 
QMap< QString, double > ifBandwidthBySensorKey_
 
QMap< QString, QString > ifIdBySensorKey_
 
QMap< QString, SgChannelPolarizationifPolarizationById_
 
QMap< QString, int > ifIdxById_
 
QMap< QString, SgChannelSideBandifSideBandById_
 
QMap< int, double > ifFreqByIdx_
 
QMap< QString, QList< QString > > origSensorIdById_
 
QMap< QString, QString > pcalIdByKey_
 
QMap< QString, SgChannelPolarizationpcalPolarizationById_
 
QMap< QString, QString > xpsIdByKey_
 
bool isOk_
 
HwType hwType_
 
BackEndType backEndType_
 

Detailed Description

SgChannelSetup: ====================================================================================================

Definition at line 906 of file SgStnLogCollector.h.

Member Enumeration Documentation

◆ BackEndType

Enumerator
BET_UNDEF 
BET_NONE 
BET_DBBC 
BET_DBBC3 
BET_RDBE 
BET_OTHER 

Definition at line 917 of file SgStnLogCollector.h.

◆ HwType

Enumerator
HT_UNDEF 
HT_VC 
HT_BBC 
HT_NN 
HT_VGOS 

Definition at line 909 of file SgStnLogCollector.h.

Constructor & Destructor Documentation

◆ SgChannelSetup()

SgChannelSetup::SgChannelSetup ( )
inline

A constructor. Creates an object.

Definition at line 939 of file SgStnLogCollector.h.

References backEndType_, BET_UNDEF, HT_UNDEF, hwType_, and isOk_.

◆ ~SgChannelSetup()

SgChannelSetup::~SgChannelSetup ( )
inline

A destructor. Frees allocated memory.

Definition at line 952 of file SgStnLogCollector.h.

Member Function Documentation

◆ bbcBandwidthByIdx()

◆ bbcFreqByIdx()

◆ calcSkyFreq()

double SgChannelSetup::calcSkyFreq ( double  loFreq,
double  bbcFreq,
double  width,
SgChannelSideBand  loSideBand,
SgChannelSideBand  ifSideBand 
)
static

◆ className()

const QString SgChannelSetup::className ( )
static

Returns name of the class (for debug output).

Definition at line 259 of file SgStnLogCollector.cpp.

Referenced by selfCheck().

◆ getBackEndType()

BackEndType SgChannelSetup::getBackEndType ( ) const
inline

◆ getHwType()

◆ ifBandwidthBySensorKey()

QMap<QString, double>& SgChannelSetup::ifBandwidthBySensorKey ( )
inline

◆ ifFreqByIdx()

◆ ifFreqBySensorKey()

QMap<QString, double>& SgChannelSetup::ifFreqBySensorKey ( )
inline

◆ ifIdBySensorKey()

◆ ifIdxById()

◆ ifPolarizationById()

◆ ifSideBandById()

◆ isOk()

bool SgChannelSetup::isOk ( ) const
inline

Definition at line 959 of file SgStnLogCollector.h.

References isOk_.

◆ loFreqById()

◆ loFreqBySensorKey()

QMap<QString, double>& SgChannelSetup::loFreqBySensorKey ( )
inline

◆ loIdByCid()

◆ loIdByIdx()

◆ loIdBySensorKey()

QMap<QString, QString>& SgChannelSetup::loIdBySensorKey ( )
inline

◆ loPolarizationById()

◆ loPolarizationBySensorKey()

QMap<QString, SgChannelPolarization>& SgChannelSetup::loPolarizationBySensorKey ( )
inline

◆ loSideBandById()

◆ loSideBandBySensorKey()

QMap<QString, SgChannelSideBand>& SgChannelSetup::loSideBandBySensorKey ( )
inline

◆ origSensorIdById()

QMap<QString, QList<QString> >& SgChannelSetup::origSensorIdById ( )
inline

◆ pcalIdByKey()

QMap<QString, QString>& SgChannelSetup::pcalIdByKey ( )
inline

◆ pcalPolarizationById()

QMap<QString, SgChannelPolarization>& SgChannelSetup::pcalPolarizationById ( )
inline

◆ selfCheck()

◆ setBackEndType()

void SgChannelSetup::setBackEndType ( BackEndType  tp)
inline

Definition at line 986 of file SgStnLogCollector.h.

References backEndType_.

Referenced by SgStnLogCollector::readLogFile().

◆ setHwType()

◆ xpsIdByKey()

QMap<QString, QString>& SgChannelSetup::xpsIdByKey ( )
inline

Member Data Documentation

◆ backEndType_

BackEndType SgChannelSetup::backEndType_
private

Definition at line 1043 of file SgStnLogCollector.h.

Referenced by SgChannelSetup(), getBackEndType(), selfCheck(), and setBackEndType().

◆ bbcBandwidthByIdx_

QMap<int, double> SgChannelSetup::bbcBandwidthByIdx_
private

Definition at line 1002 of file SgStnLogCollector.h.

Referenced by bbcBandwidthByIdx(), and selfCheck().

◆ bbcFreqByIdx_

QMap<int, double> SgChannelSetup::bbcFreqByIdx_
private

Definition at line 1001 of file SgStnLogCollector.h.

Referenced by bbcFreqByIdx(), and selfCheck().

◆ hwType_

HwType SgChannelSetup::hwType_
private

Definition at line 1042 of file SgStnLogCollector.h.

Referenced by SgChannelSetup(), getHwType(), selfCheck(), and setHwType().

◆ ifBandwidthBySensorKey_

QMap<QString, double> SgChannelSetup::ifBandwidthBySensorKey_
private

Definition at line 1019 of file SgStnLogCollector.h.

Referenced by ifBandwidthBySensorKey().

◆ ifFreqByIdx_

QMap<int, double> SgChannelSetup::ifFreqByIdx_
private

Definition at line 1030 of file SgStnLogCollector.h.

Referenced by ifFreqByIdx().

◆ ifFreqBySensorKey_

QMap<QString, double> SgChannelSetup::ifFreqBySensorKey_
private

Definition at line 1018 of file SgStnLogCollector.h.

Referenced by ifFreqBySensorKey().

◆ ifIdBySensorKey_

QMap<QString, QString> SgChannelSetup::ifIdBySensorKey_
private

Definition at line 1020 of file SgStnLogCollector.h.

Referenced by ifIdBySensorKey(), and selfCheck().

◆ ifIdxById_

QMap<QString, int> SgChannelSetup::ifIdxById_
private

Definition at line 1026 of file SgStnLogCollector.h.

Referenced by ifIdxById(), and selfCheck().

◆ ifPolarizationById_

QMap<QString, SgChannelPolarization> SgChannelSetup::ifPolarizationById_
private

Definition at line 1025 of file SgStnLogCollector.h.

Referenced by ifPolarizationById().

◆ ifSideBandById_

QMap<QString, SgChannelSideBand> SgChannelSetup::ifSideBandById_
private

Definition at line 1028 of file SgStnLogCollector.h.

Referenced by ifSideBandById(), and selfCheck().

◆ isOk_

bool SgChannelSetup::isOk_
private

Definition at line 1041 of file SgStnLogCollector.h.

Referenced by SgChannelSetup(), isOk(), and selfCheck().

◆ loFreqById_

QMap<QString, double> SgChannelSetup::loFreqById_
private

Definition at line 1006 of file SgStnLogCollector.h.

Referenced by loFreqById(), and selfCheck().

◆ loFreqBySensorKey_

QMap<QString, double> SgChannelSetup::loFreqBySensorKey_
private

Definition at line 1013 of file SgStnLogCollector.h.

Referenced by loFreqBySensorKey(), and selfCheck().

◆ loIdByCid_

QMap<QString, QString> SgChannelSetup::loIdByCid_
private

Definition at line 1005 of file SgStnLogCollector.h.

Referenced by loIdByCid(), and selfCheck().

◆ loIdByIdx_

QMap<int, QString> SgChannelSetup::loIdByIdx_
private

Definition at line 1004 of file SgStnLogCollector.h.

Referenced by loIdByIdx(), and selfCheck().

◆ loIdBySensorKey_

QMap<QString, QString> SgChannelSetup::loIdBySensorKey_
private

Definition at line 1012 of file SgStnLogCollector.h.

Referenced by loIdBySensorKey().

◆ loPolarizationById_

QMap<QString, SgChannelPolarization> SgChannelSetup::loPolarizationById_
private

Definition at line 1010 of file SgStnLogCollector.h.

Referenced by loPolarizationById(), and selfCheck().

◆ loPolarizationBySensorKey_

QMap<QString, SgChannelPolarization> SgChannelSetup::loPolarizationBySensorKey_
private

Definition at line 1017 of file SgStnLogCollector.h.

Referenced by loPolarizationBySensorKey().

◆ loSideBandById_

QMap<QString, SgChannelSideBand> SgChannelSetup::loSideBandById_
private

Definition at line 1008 of file SgStnLogCollector.h.

Referenced by loSideBandById(), and selfCheck().

◆ loSideBandBySensorKey_

QMap<QString, SgChannelSideBand> SgChannelSetup::loSideBandBySensorKey_
private

Definition at line 1015 of file SgStnLogCollector.h.

Referenced by loSideBandBySensorKey().

◆ origSensorIdById_

QMap<QString, QList<QString> > SgChannelSetup::origSensorIdById_
private

Definition at line 1032 of file SgStnLogCollector.h.

Referenced by origSensorIdById().

◆ pcalIdByKey_

QMap<QString, QString> SgChannelSetup::pcalIdByKey_
private

Definition at line 1035 of file SgStnLogCollector.h.

Referenced by pcalIdByKey().

◆ pcalPolarizationById_

QMap<QString, SgChannelPolarization> SgChannelSetup::pcalPolarizationById_
private

Definition at line 1037 of file SgStnLogCollector.h.

Referenced by pcalPolarizationById().

◆ xpsIdByKey_

QMap<QString, QString> SgChannelSetup::xpsIdByKey_
private

Definition at line 1039 of file SgStnLogCollector.h.

Referenced by xpsIdByKey().


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