Changeset 3179 in ntrip


Ignore:
Timestamp:
Mar 29, 2011, 5:30:40 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/upload
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/upload/bncrtnetdecoder.cpp

    r3174 r3179  
    4343#include "bncutils.h"
    4444#include "bncsettings.h"
     45#include "bncclockrinex.h"
     46#include "bncsp3.h"
    4547
    4648using namespace std;
     
    5153  bncSettings settings;
    5254  _year = 0;
     55  _append = Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked;
     56
     57  // RINEX writer
     58  // ------------
     59  if ( settings.value("rnxPath").toString().isEmpty() ) {
     60    _rnx = 0;
     61  }
     62  else {
     63    QString prep  = "BNC";
     64    QString ext   = ".clk";
     65    QString path  = settings.value("rnxPath").toString();
     66    QString intr  = settings.value("rnxIntr").toString();
     67    int     sampl = settings.value("rnxSampl").toInt();
     68    _rnx = new bncClockRinex(prep, ext, path, intr, sampl);
     69  }
     70
     71  // SP3 writer
     72  // ----------
     73  if ( settings.value("sp3Path").toString().isEmpty() ) {
     74    _sp3 = 0;
     75  }
     76  else {
     77    QString prep  = "BNC";
     78    QString ext   = ".sp3";
     79    QString path  = settings.value("sp3Path").toString();
     80    QString intr  = settings.value("sp3Intr").toString();
     81    int     sampl = settings.value("sp3Sampl").toInt();
     82    _sp3 = new bncSP3(prep, ext, path, intr, sampl);
     83  }
    5384}
    5485
     
    5687////////////////////////////////////////////////////////////////////////
    5788bncRtnetDecoder::~bncRtnetDecoder() {
     89  delete _rnx;
     90  delete _sp3;
    5891}
    5992
  • trunk/BNC/upload/bncrtnetdecoder.h

    r3174 r3179  
    3232#include "RTCM/GPSDecoder.h"
    3333
     34class bncClockRinex;
     35class bncSP3;
     36
    3437class bncRtnetDecoder: public GPSDecoder, public bncEphUser {
    3538 public:
     
    4851                const QString& trafo);
    4952
    50   QString _buffer;
    5153  QList<bncUploadCaster*> _caster;
    52   int    _GPSweek;
    53   double _GPSweeks;
    54   int    _year;
    55   int    _month;
    56   int    _day;
    57   int    _hour;
    58   int    _min;
    59   double _sec;
    60 
    61   double _dx;
    62   double _dy;
    63   double _dz;
    64   double _dxr;
    65   double _dyr;
    66   double _dzr;
    67   double _ox;
    68   double _oy;
    69   double _oz;
    70   double _oxr;
    71   double _oyr;
    72   double _ozr;
    73   double _sc;
    74   double _scr;
    75   double _t0;
     54  bool                    _append;
     55  QString                 _buffer;
     56  int                     _GPSweek;
     57  double                  _GPSweeks;
     58  int                     _year;
     59  int                     _month;
     60  int                     _day;
     61  int                     _hour;
     62  int                     _min;
     63  double                  _sec;
     64  double                  _dx;
     65  double                  _dy;
     66  double                  _dz;
     67  double                  _dxr;
     68  double                  _dyr;
     69  double                  _dzr;
     70  double                  _ox;
     71  double                  _oy;
     72  double                  _oz;
     73  double                  _oxr;
     74  double                  _oyr;
     75  double                  _ozr;
     76  double                  _sc;
     77  double                  _scr;
     78  double                  _t0;
     79  bncClockRinex*          _rnx;
     80  bncSP3*                 _sp3;
    7681};
    7782
  • trunk/BNC/upload/bncuploadcaster.h

    r3176 r3179  
    33
    44#include <QtNetwork>
    5 
    6 class bncClockRinex;
    7 class bncSP3;
    85
    96class bncUploadCaster : public QObject {
     
    3936  QFile*         _outFile;
    4037  QTextStream*   _outStream;
    41   bncClockRinex* _rnx;
    42   bncSP3*        _sp3;
    4338};
    4439
Note: See TracChangeset for help on using the changeset viewer.