Changeset 3688 in ntrip


Ignore:
Timestamp:
Feb 12, 2012, 2:07:57 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpostprocess.cpp

    r3685 r3688  
    4747#include "rnxobsfile.h"
    4848#include "rnxnavfile.h"
     49#include "corrfile.h"
    4950
    5051using namespace std;
     
    5657  _rnxObsFile = 0;
    5758  _rnxNavFile = 0;
     59  _corrFile   = 0;
    5860  _pppClient  = 0;
    5961}
     
    6567  delete _rnxNavFile;
    6668  delete _rnxObsFile;
     69  delete _corrFile;
    6770  delete _opt;
    6871}
     
    8689    _pppClient  = new bncPPPclient("POST", _opt, false);
    8790
    88     connect(this, SIGNAL(newCorrections(QList<QString>)),
    89             _pppClient, SLOT(slotNewCorrections(QList<QString>)));
     91    if (!_opt->corrFileName.isEmpty()) {
     92      _corrFile = new t_corrFile(_opt->corrFileName);
     93      connect(_corrFile, SIGNAL(newCorrections(QList<QString>)),
     94              _pppClient, SLOT(slotNewCorrections(QList<QString>)));
     95    }
    9096
    9197    connect(_pppClient, SIGNAL(newMessage(QByteArray,bool)),
  • trunk/BNC/bncpostprocess.h

    r3685 r3688  
    3636class t_rnxObsFile;
    3737class t_rnxNavFile;
     38class t_corrFile;
    3839
    3940class t_postProcessing : public QThread {
     
    4950  void progress(int);
    5051  void finished();
    51   void newEphGPS(gpsephemeris gpseph);
    52   void newEphGlonass(glonassephemeris glonasseph);
    53   void newEphGalileo(galileoephemeris galileoeph);
    54   void newCorrections(QList<QString>);
    5552   
    5653 public slots:
     
    6562  t_rnxObsFile* _rnxObsFile;
    6663  t_rnxNavFile* _rnxNavFile;
     64  t_corrFile*   _corrFile;
    6765};
    6866
  • trunk/BNC/corrfile.h

    r3687 r3688  
    2929#include "bncconst.h"
    3030
    31 class t_corrFile {
     31class t_corrFile : public QObject {
     32 Q_OBJECT
     33
    3234 public:
    3335  t_corrFile(QString fileName);
    3436  ~t_corrFile();
     37
     38 signals:
     39  void newCorrections(QList<QString>);
    3540
    3641 private:
Note: See TracChangeset for help on using the changeset viewer.