Changeset 5861 in ntrip for trunk/BNC/src/bncgetthread.cpp


Ignore:
Timestamp:
Aug 8, 2014, 10:35:08 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5739 r5861  
    6363#include "bncsettings.h"
    6464#include "latencychecker.h"
    65 #include "bncpppclient.h"
    6665#include "upload/bncrtnetdecoder.h"
    6766#include "RTCM/RTCM2Decoder.h"
     
    126125  _query         = 0;
    127126  _nextSleep     = 0;
    128   _PPPclient     = 0;
    129127  _miscMount     = settings.value("miscMount").toString();
    130128  _decoder   = 0;
     
    315313  }
    316314
    317   // Initialize PPP Client?
    318   // ----------------------
    319 #ifndef MLS_SOFTWARE
    320   bncSettings settings;
    321   if (!settings.value("pppSPP").toString().isEmpty() &&
    322       settings.value("pppMount").toString() == _staID) {
    323     _PPPclient = new bncPPPclient(_staID);
    324     BNC_CORE->_bncPPPclient = _PPPclient;
    325     qRegisterMetaType<bncTime>("bncTime");
    326     connect(_PPPclient, SIGNAL(newPosition(bncTime, double, double, double)),
    327             this, SIGNAL(newPosition(bncTime, double, double, double)));
    328     connect(_PPPclient, SIGNAL(newNMEAstr(QByteArray)),
    329             this,       SIGNAL(newNMEAstr(QByteArray)));
    330   }
    331 #endif
    332 
    333315  return success;
    334316}
     
    358340    _query->deleteLater();
    359341  }
    360   delete _PPPclient;
    361342  if (_rawFile) {
    362343    QMapIterator<QString, GPSDecoder*> it(_decodersRaw);
     
    537518        decoder()->dumpRinexEpoch(obs, _format);
    538519
    539         // PPP Client
    540         // ----------
    541 #ifndef MLS_SOFTWARE
    542         if (_PPPclient && _staID == _PPPclient->staID()) {
    543           _PPPclient->putNewObs(obs);
    544         }
    545 #endif
    546520        // Save observations
    547521        // -----------------
Note: See TracChangeset for help on using the changeset viewer.