Changeset 3643 in ntrip


Ignore:
Timestamp:
Jan 24, 2012, 11:48:24 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpostprocess.cpp

    r3642 r3643  
    4343#include "bncsettings.h"
    4444#include "pppopt.h"
     45#include "bncpppclient.h"
    4546
    4647using namespace std;
     
    5758  cout << "~t_postProcessing" << endl;
    5859  delete _opt;
     60  delete _pppClient;
    5961}
    6062
     
    6264////////////////////////////////////////////////////////////////////////////
    6365void t_postProcessing::run() {
     66
     67  if (!_pppClient) {
     68    _pppClient = new bncPPPclient("POST", _opt, false);
     69  }
    6470
    6571  cout << "obsFile: "  << _opt->obsFileName.toAscii().data()  << endl;
  • trunk/BNC/bncpostprocess.h

    r3642 r3643  
    3030
    3131class t_pppOpt;
     32class bncPPPclient;
    3233
    3334class t_postProcessing : public QThread {
     
    4849 
    4950 private:
    50   t_pppOpt* _opt;
     51  t_pppOpt*     _opt;
     52  bncPPPclient* _pppClient;
    5153};
    5254
Note: See TracChangeset for help on using the changeset viewer.