Changeset 3642 in ntrip for trunk


Ignore:
Timestamp:
Jan 24, 2012, 11:44:54 AM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpostprocess.cpp

    r3629 r3642  
    4242#include "bncpostprocess.h"
    4343#include "bncsettings.h"
     44#include "pppopt.h"
    4445
    4546using namespace std;
     
    4849////////////////////////////////////////////////////////////////////////////
    4950t_postProcessing::t_postProcessing(QObject* parent) : QThread(parent) {
    50   bncSettings settings;
    51   _input.obsFileName  = settings.value("postObsFile").toString();
    52   _input.navFileName  = settings.value("postNavFile").toString();
    53   _input.corrFileName = settings.value("postcorrFile").toString();
     51  _opt = new t_pppOpt();
    5452}
    5553
     
    5856t_postProcessing::~t_postProcessing() {
    5957  cout << "~t_postProcessing" << endl;
     58  delete _opt;
    6059}
    6160
     
    6463void t_postProcessing::run() {
    6564
    66   cout << "obsFile: "  << _input.obsFileName.toAscii().data()  << endl;
    67   cout << "navFile: "  << _input.navFileName.toAscii().data()  << endl;
    68   cout << "corrFile: " << _input.corrFileName.toAscii().data() << endl;
     65  cout << "obsFile: "  << _opt->obsFileName.toAscii().data()  << endl;
     66  cout << "navFile: "  << _opt->navFileName.toAscii().data()  << endl;
     67  cout << "corrFile: " << _opt->corrFileName.toAscii().data() << endl;
    6968
    7069  int MAXI = 5;
  • trunk/BNC/bncpostprocess.h

    r3629 r3642  
    2929#include "bncconst.h"
    3030
    31 class t_postInput {
    32  public:
    33   QString    obsFileName;
    34   QString    navFileName;
    35   QString    corrFileName;
    36 };
     31class t_pppOpt;
    3732
    3833class t_postProcessing : public QThread {
     
    5348 
    5449 private:
    55   t_postInput _input;
     50  t_pppOpt* _opt;
    5651};
    5752
  • trunk/BNC/pppopt.cpp

    r3636 r3642  
    7777  antexFile    = settings.value("pppAntex").toString();
    7878  antennaName  = settings.value("pppAntenna").toString();
     79  obsFileName  = settings.value("postObsFile").toString();
     80  navFileName  = settings.value("postNavFile").toString();
     81  corrFileName = settings.value("postcorrFile").toString();
    7982
    8083  pppMode      = settings.value("pppSPP").toString() == "PPP";
  • trunk/BNC/pppopt.h

    r3636 r3642  
    5454  QString antexFile;
    5555  QString antennaName;
     56  QString obsFileName;
     57  QString navFileName;
     58  QString corrFileName;
    5659  bool    pppMode;
    5760  bool    rnxAppend;
Note: See TracChangeset for help on using the changeset viewer.