Changeset 3046 in ntrip for trunk/BNC/combination


Ignore:
Timestamp:
Feb 25, 2011, 3:14:17 PM (14 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/combination
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r3035 r3046  
    2525#include "bncutils.h"
    2626#include "bncpppclient.h"
     27#include "bnssp3.h"
    2728
    2829using namespace std;
     
    170171  }
    171172  _out = 0;
     173
     174  // SP3 writer
     175  // ----------
     176  if ( settings.value("sp3Path").toString().isEmpty() ) {
     177    _sp3 = 0;
     178  }
     179  else {
     180    QString prep  = "BNS";
     181    QString ext   = ".sp3";
     182    QString path  = settings.value("sp3Path").toString();
     183    QString intr  = settings.value("sp3Intr").toString();
     184    int     sampl = settings.value("sp3Sampl").toInt();
     185    _sp3 = new bnsSP3(prep, ext, path, intr, sampl);
     186  }
    172187}
    173188
     
    182197  delete _caster;
    183198  delete _out;
     199  delete _sp3;
    184200}
    185201
     
    377393    }
    378394  }
     395
     396  //if (_sp3) {
     397  //  _sp3->write(GPSweek, GPSweeks, prn, xx, _append);
     398  //}
    379399}
    380400
  • trunk/BNC/combination/bnccomb.h

    r3035 r3046  
    88
    99class cmbCaster;
     10class bnsSP3;
    1011
    1112class cmbParam {
     
    8687  QString               _outName;
    8788  std::ofstream*        _out;
     89  bnsSP3*               _sp3;
    8890};
    8991
Note: See TracChangeset for help on using the changeset viewer.