General Purpose Geodetic Library
vgosDbProcLogs.cpp File Reference
#include <argp.h>
#include <unistd.h>
#include <QtCore/QCoreApplication>
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
#include <QtCore/QList>
#include <QtCore/QSettings>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtGui/QApplication>
#include <SgIdentities.h>
#include <SgKombFormat.h>
#include <SgLogger.h>
#include <SgVgosDb.h>
#include <SgVlbiSession.h>
#include "vgosDbProcLogs.h"
#include "VpStartupWizard.h"

Go to the source code of this file.

Classes

struct  vdbpOptions
 

Functions

void loadSettings (QSettings &)
 
void saveSettings (QSettings &, bool shouldInvokeSystemWideWizard)
 
const QString origOrgName ("NASA GSFC")
 
const QString origDmnName ("gsfc.nasa.gov")
 
const QString origAppName ("vgosDbProcLogs")
 
static int parse_opt (int key, char *arg, struct argp_state *state)
 
QCoreApplication * createApplication (int &argc, char *argv[], bool isGuiEnabled)
 
int main (int argc, char **argv)
 

Variables

VpSetup setup
 
char progname [80]
 
int msglev = 2
 
const char * argp_program_bug_address = "Sergei Bolotin <sergei.bolotin@nasa.gov>"
 

Function Documentation

◆ createApplication()

QCoreApplication* createApplication ( int &  argc,
char *  argv[],
bool  isGuiEnabled 
)

Definition at line 220 of file vgosDbProcLogs.cpp.

Referenced by main().

◆ loadSettings()

◆ main()

int main ( int  argc,
char **  argv 
)

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

Definition at line 236 of file vgosDbProcLogs.cpp.

References SgVlbiHistory::addHistoryRecord(), vdbpOptions::altPath2InputFiles, vdbpOptions::altSetupAppName, vdbpOptions::altSetupName, SgLogger::attachSupplementLog(), SgLogger::clearSpool(), SgVlbiSession::contemporaryHistory(), createApplication(), SgMJD::currentMJD(), SgLogger::DBG, SgLogger::detachSupplementLog(), SgLogger::ERR, SgMJD::F_DDMonYYYY, SgIdentities::getAcAbbName(), SgIdentities::getAcFullName(), SgVlbiSession::getDataFromVgosDb(), VpSetup::getDefaultCableSignByStn(), VpSetup::getHave2SavePerSessionLog(), SgIdentities::getMachineMachineName(), SgIdentities::getMachineNodeName(), SgIdentities::getMachineRelease(), SgIdentities::getMachineSysName(), SgVlbiSessionInfo::getName(), VpSetup::getPath2AuxLogs(), VpSetup::getPath2MasterFiles(), VpSetup::getPath2SessionFiles(), VpSetup::getPath2VgosDbFiles(), SgVersion::getReleaseEpoch(), VpSetup::getRinexFileNameByStn(), VpSetup::getRinexPressureOffsetByStn(), SgVlbiSessionInfo::getSessionCode(), SgVgosDb::getSessionName(), SgVersion::getSoftwareName(), VpSetup::getUseLocalLocale(), SgIdentities::getUserEmailAddress(), SgIdentities::getUserName(), SgVlbiSession::guessSessionByWrapperFileName(), SgVlbiSession::guessWrapperFileNameBySession(), SgLogger::GUI, vdbpOptions::have2clearCableData, vdbpOptions::have2clearMeteoData, vdbpOptions::have2clearTsysData, vdbpOptions::have2ForceWizard, vdbpOptions::have2UseAltSetup, VpSetup::identities(), SgVlbiSession::importDataFromLogFiles(), SgLogger::INF, SgVgosDb::init(), vdbpOptions::inputArg, interval2Str(), SgLogger::IO, vdbpOptions::isDryRun, vdbpOptions::kinds, vdbpOptions::knownKinds, libraryVersion, loadSettings(), logger, SgVersion::name(), SgVlbiSession::observations(), SgNetCdf::OM_DRY_RUN, vdbpOptions::orderOfMeteo, origAppName(), origDmnName(), origOrgName(), parse_opt(), VpSetup::path2(), progname, SgVlbiSession::putDataIntoVgosDb(), SgVlbiSession::resetDataFromLogFiles(), SgLogger::rmLogFile(), saveSettings(), VpStartupWizard::serialNumber(), SgLogger::SESSION, SgLogger::setDirName(), SgLogger::setFileName(), SgLogger::setIsMute(), SgLogger::setIsNeedTimeMark(), SgLogger::setLogFacility(), SgVgosDb::setOperationMode(), SgVlbiSession::setPath2Masterfile(), vdbpOptions::settings, setup, VpSetup::setUpBinaryIdentities(), vdbpOptions::shouldInvokeSystemWideWizard, vdbpOptions::stations, SgMJD::toString(), vdbpOptions::useStdLocale, vgosDbProcLogsVersion, SgLogger::write(), and SgLogger::WRN.

◆ origAppName()

const QString origAppName ( "vgosDbProcLogs"  )

Referenced by main(), and parse_opt().

◆ origDmnName()

const QString origDmnName ( "gsfc.nasa.gov"  )

Referenced by main().

◆ origOrgName()

const QString origOrgName ( "NASA GSFC"  )

Referenced by main().

◆ parse_opt()

◆ saveSettings()

Variable Documentation

◆ argp_program_bug_address

const char* argp_program_bug_address = "Sergei Bolotin <sergei.bolotin@nasa.gov>"

Definition at line 76 of file vgosDbProcLogs.cpp.

◆ msglev

int msglev = 2

Definition at line 73 of file vgosDbProcLogs.cpp.

◆ progname

char progname[80]

Definition at line 72 of file vgosDbProcLogs.cpp.

Referenced by main().

◆ setup

VpSetup setup

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

Definition at line 64 of file vgosDbProcLogs.cpp.

Referenced by loadSettings(), main(), parse_opt(), and saveSettings().