- Timestamp:
- Aug 13, 2012, 12:15:29 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcedit.cpp
r4514 r4516 43 43 #include "bncapp.h" 44 44 #include "bncsettings.h" 45 #include "bncutils.h" 45 46 46 47 using namespace std; … … 55 56 bncSettings settings; 56 57 58 _logFileName = settings.value("reqcOutLogFile").toString(); expandEnvVar(_logFileName); 59 _logFile = 0; 60 _log = 0; 57 61 _obsFileNames = settings.value("reqcObsFile").toString().split(",", QString::SkipEmptyParts); 58 62 _outObsFileName = settings.value("reqcOutObsFile").toString(); … … 80 84 delete _ephs[ii]; 81 85 } 86 delete _log; _log = 0; 87 delete _logFile; _logFile = 0; 82 88 } 83 89 … … 86 92 void t_reqcEdit::run() { 87 93 94 // Open Log File 95 // ------------- 96 _logFile = new QFile(_logFileName); 97 _logFile->open(QIODevice::WriteOnly | QIODevice::Text); 98 _log = new QTextStream(); 99 _log->setDevice(_logFile); 100 101 // Handle Observation Files 102 // ------------------------ 88 103 editObservations(); 89 104 105 // Handle Navigations Files 106 // ------------------------ 90 107 editEphemerides(); 91 108 109 // Exit (thread) 110 // ------------- 92 111 bncApp* app = (bncApp*) qApp; 93 112 if ( app->mode() != bncApp::interactive) { -
trunk/BNC/src/rinex/reqcedit.h
r4256 r4516 60 60 void applyLLI(const t_rnxObsFile* obsFile, t_rnxObsFile::t_rnxEpo* epo); 61 61 62 QString _logFileName; 63 QFile* _logFile; 64 QTextStream* _log; 62 65 QStringList _obsFileNames; 63 66 QVector<t_rnxObsFile*> _rnxObsFiles;
Note:
See TracChangeset
for help on using the changeset viewer.