Changeset 5984 in ntrip


Ignore:
Timestamp:
Aug 17, 2014, 3:23:31 PM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppRun.cpp

    r5982 r5984  
    5252#include "bncephuser.h"
    5353#include "bncsettings.h"
     54#include "bncoutf.h"
    5455#include "rinex/rnxobsfile.h"
    5556#include "rinex/rnxnavfile.h"
     
    7778
    7879  _pppClient = new t_pppClient(_opt);
     80
     81  bncSettings settings;
    7982
    8083  if (_opt->_realTime) {
     
    100103  }
    101104  else {
    102     bncSettings settings;
    103105    _rnxObsFile = 0;
    104106    _rnxNavFile = 0;
     
    113115 
    114116  _stopFlag = false;
     117
     118  QString logFileSkl = settings.value("PPP/logFile").toString();
     119  _logFile = new bncoutf(logFileSkl, "1 day", 0);
    115120}
    116121
     
    118123////////////////////////////////////////////////////////////////////////////
    119124t_pppRun::~t_pppRun() {
     125  delete _logFile;
    120126}
    121127
     
    257263    }
    258264
     265    _logFile->write(output._epoTime.gpsw(), output._epoTime.gpssec(), QString(output._log.c_str()));
     266
    259267    emit newMessage(QByteArray(log.str().c_str()), true);
    260268  }
  • trunk/BNC/src/PPP/pppRun.h

    r5973 r5984  
    1313class t_rnxNavFile;
    1414class t_corrFile;
     15class bncoutf;
    1516
    1617namespace BNC_PPP {
     
    6667  int           _speed;
    6768  bool          _stopFlag;
     69  bncoutf*      _logFile;
    6870};
    6971
Note: See TracChangeset for help on using the changeset viewer.