Changeset 9609 in ntrip for trunk


Ignore:
Timestamp:
Jan 19, 2022, 10:01:01 PM (2 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppRun.cpp

    r9599 r9609  
    546546  }
    547547
    548   _rnxNavFile = new t_rnxNavFile(QString(_opt->_rinexNav.c_str()), t_rnxNavFile::input);
     548  try {
     549    cout << "_opt->_rinexNav: " << _opt->_rinexNav.c_str() << endl;
     550    _rnxNavFile = new t_rnxNavFile(QString(_opt->_rinexNav.c_str()), t_rnxNavFile::input);
     551  }
     552  catch (...) {
     553    delete _rnxNavFile; _rnxNavFile = 0;
     554    emit finishedRnxPPP();
     555    return;
     556  }
    549557
    550558  if (!_opt->_corrFile.empty()) {
    551559    _corrFile = new t_corrFile(QString(_opt->_corrFile.c_str()));
    552     connect(_corrFile, SIGNAL(newTec(t_vTec)),
    553             this, SLOT(slotNewTec(t_vTec)));
    554     connect(_corrFile, SIGNAL(newOrbCorrections(QList<t_orbCorr>)),
    555             this, SLOT(slotNewOrbCorrections(QList<t_orbCorr>)));
    556     connect(_corrFile, SIGNAL(newClkCorrections(QList<t_clkCorr>)),
    557             this, SLOT(slotNewClkCorrections(QList<t_clkCorr>)));
    558     connect(_corrFile, SIGNAL(newCodeBiases(QList<t_satCodeBias>)),
    559             this, SLOT(slotNewCodeBiases(QList<t_satCodeBias>)));
    560     connect(_corrFile, SIGNAL(newPhaseBiases(QList<t_satPhaseBias>)),
    561             this, SLOT(slotNewPhaseBiases(QList<t_satPhaseBias>)));
     560
     561    if (_opt->_ionoFile.empty()) {
     562      connect(_corrFile, SIGNAL(newTec(t_vTec)), this, SLOT(slotNewTec(t_vTec)));
     563    }
     564    connect(_corrFile, SIGNAL(newOrbCorrections(QList<t_orbCorr>)), this, SLOT(slotNewOrbCorrections(QList<t_orbCorr>)));
     565    connect(_corrFile, SIGNAL(newClkCorrections(QList<t_clkCorr>)), this, SLOT(slotNewClkCorrections(QList<t_clkCorr>)));
     566    connect(_corrFile, SIGNAL(newCodeBiases(QList<t_satCodeBias>)), this, SLOT(slotNewCodeBiases(QList<t_satCodeBias>)));
     567    connect(_corrFile, SIGNAL(newPhaseBiases(QList<t_satPhaseBias>)), this, SLOT(slotNewPhaseBiases(QList<t_satPhaseBias>)));
    562568  }
    563569
    564570  if (!_opt->_ionoFile.empty()) {
    565571    _ionoFile = new t_corrFile(QString(_opt->_corrFile.c_str()));
    566     connect(_ionoFile, SIGNAL(newTec(t_vTec)),
    567             this, SLOT(slotNewTec(t_vTec)));
     572    connect(_ionoFile, SIGNAL(newTec(t_vTec)), this, SLOT(slotNewTec(t_vTec)));
    568573  }
    569574
Note: See TracChangeset for help on using the changeset viewer.