- Timestamp:
- Aug 17, 2014, 3:23:31 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppRun.cpp
r5982 r5984 52 52 #include "bncephuser.h" 53 53 #include "bncsettings.h" 54 #include "bncoutf.h" 54 55 #include "rinex/rnxobsfile.h" 55 56 #include "rinex/rnxnavfile.h" … … 77 78 78 79 _pppClient = new t_pppClient(_opt); 80 81 bncSettings settings; 79 82 80 83 if (_opt->_realTime) { … … 100 103 } 101 104 else { 102 bncSettings settings;103 105 _rnxObsFile = 0; 104 106 _rnxNavFile = 0; … … 113 115 114 116 _stopFlag = false; 117 118 QString logFileSkl = settings.value("PPP/logFile").toString(); 119 _logFile = new bncoutf(logFileSkl, "1 day", 0); 115 120 } 116 121 … … 118 123 //////////////////////////////////////////////////////////////////////////// 119 124 t_pppRun::~t_pppRun() { 125 delete _logFile; 120 126 } 121 127 … … 257 263 } 258 264 265 _logFile->write(output._epoTime.gpsw(), output._epoTime.gpssec(), QString(output._log.c_str())); 266 259 267 emit newMessage(QByteArray(log.str().c_str()), true); 260 268 } -
trunk/BNC/src/PPP/pppRun.h
r5973 r5984 13 13 class t_rnxNavFile; 14 14 class t_corrFile; 15 class bncoutf; 15 16 16 17 namespace BNC_PPP { … … 66 67 int _speed; 67 68 bool _stopFlag; 69 bncoutf* _logFile; 68 70 }; 69 71
Note:
See TracChangeset
for help on using the changeset viewer.