General Purpose Geodetic Library
SgVlbaLogCollector Class Reference

#include <SgStnLogCollector.h>

Public Member Functions

 SgVlbaLogCollector ()
 
 ~SgVlbaLogCollector ()
 
const QString & getLogFileName () const
 
bool readLogFile (const QString &fileName, int year)
 
bool propagateData (SgVlbiStationInfo *stn)
 
bool isVlba (const QString &key) const
 

Static Public Member Functions

static const QString className ()
 

Private Member Functions

bool strs2mjd (int nYear, const QString &sDay, const QString &sHr, const QString &sMin, const QString &sSec, SgMJD &t)
 

Private Attributes

QString logFileName_
 
QMap< QString, SgStnLogReadings * > readingsByKey_
 
QMap< QString, QString > ivs2vlba_
 

Static Private Attributes

static const QString vlbaStationCodes_ [NUM_OF_VLBA_ENTRIES]
 
static const QString ivsStationNames_ [NUM_OF_VLBA_ENTRIES]
 

Detailed Description

====================================================================================================

Definition at line 1596 of file SgStnLogCollector.h.

Constructor & Destructor Documentation

◆ SgVlbaLogCollector()

SgVlbaLogCollector::SgVlbaLogCollector ( )

A constructor. Creates an object.

Definition at line 8996 of file SgStnLogCollector.cpp.

References ivs2vlba_, ivsStationNames_, NUM_OF_VLBA_ENTRIES, and vlbaStationCodes_.

◆ ~SgVlbaLogCollector()

SgVlbaLogCollector::~SgVlbaLogCollector ( )

A destructor. Frees allocated memory.

Definition at line 9009 of file SgStnLogCollector.cpp.

References readingsByKey_.

Member Function Documentation

◆ className()

const QString SgVlbaLogCollector::className ( )
static

Returns name of the class (for debug output).

Definition at line 8988 of file SgStnLogCollector.cpp.

Referenced by propagateData(), readLogFile(), and strs2mjd().

◆ getLogFileName()

const QString& SgVlbaLogCollector::getLogFileName ( ) const
inline

Definition at line 1620 of file SgStnLogCollector.h.

References logFileName_.

Referenced by SgVlbiSession::importDataFromLogFiles().

◆ isVlba()

bool SgVlbaLogCollector::isVlba ( const QString &  key) const
inline

Definition at line 1628 of file SgStnLogCollector.h.

References ivs2vlba_.

Referenced by SgVlbiSession::importDataFromLogFiles(), and propagateData().

◆ propagateData()

◆ readLogFile()

◆ strs2mjd()

bool SgVlbaLogCollector::strs2mjd ( int  nYear,
const QString &  sDay,
const QString &  sHr,
const QString &  sMin,
const QString &  sSec,
SgMJD t 
)
private

Member Data Documentation

◆ ivs2vlba_

QMap<QString, QString> SgVlbaLogCollector::ivs2vlba_
private

Definition at line 1646 of file SgStnLogCollector.h.

Referenced by SgVlbaLogCollector(), isVlba(), and propagateData().

◆ ivsStationNames_

const QString SgVlbaLogCollector::ivsStationNames_
staticprivate
Initial value:
=
{ "BR-VLBA ", "CAMBRIDG", "EFLSBERG", "FD-VLBA ", "VLBA85_3", "GBT-VLBA", "HN-VLBA ",
"JODRELL2", "KP-VLBA ", "LA-VLBA ", "MK-VLBA ", "NL-VLBA ", "OV-VLBA ", "PIETOWN ",
"SC-VLBA " }

Definition at line 1645 of file SgStnLogCollector.h.

Referenced by SgVlbaLogCollector().

◆ logFileName_

QString SgVlbaLogCollector::logFileName_
private

Definition at line 1641 of file SgStnLogCollector.h.

Referenced by getLogFileName(), and readLogFile().

◆ readingsByKey_

QMap<QString, SgStnLogReadings*> SgVlbaLogCollector::readingsByKey_
private

Definition at line 1643 of file SgStnLogCollector.h.

Referenced by ~SgVlbaLogCollector(), propagateData(), and readLogFile().

◆ vlbaStationCodes_

const QString SgVlbaLogCollector::vlbaStationCodes_
staticprivate
Initial value:
=
{ "BR", "CA", "EB", "FD", "GA", "GT", "HN", "JV", "KP", "LA", "MK", "NL", "OV", "PT", "SC" }

Definition at line 1644 of file SgStnLogCollector.h.

Referenced by SgVlbaLogCollector().


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