Changeset 5861 in ntrip for trunk/BNC/src/bncgetthread.cpp
- Timestamp:
- Aug 8, 2014, 10:35:08 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncgetthread.cpp
r5739 r5861 63 63 #include "bncsettings.h" 64 64 #include "latencychecker.h" 65 #include "bncpppclient.h"66 65 #include "upload/bncrtnetdecoder.h" 67 66 #include "RTCM/RTCM2Decoder.h" … … 126 125 _query = 0; 127 126 _nextSleep = 0; 128 _PPPclient = 0;129 127 _miscMount = settings.value("miscMount").toString(); 130 128 _decoder = 0; … … 315 313 } 316 314 317 // Initialize PPP Client?318 // ----------------------319 #ifndef MLS_SOFTWARE320 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 #endif332 333 315 return success; 334 316 } … … 358 340 _query->deleteLater(); 359 341 } 360 delete _PPPclient;361 342 if (_rawFile) { 362 343 QMapIterator<QString, GPSDecoder*> it(_decodersRaw); … … 537 518 decoder()->dumpRinexEpoch(obs, _format); 538 519 539 // PPP Client540 // ----------541 #ifndef MLS_SOFTWARE542 if (_PPPclient && _staID == _PPPclient->staID()) {543 _PPPclient->putNewObs(obs);544 }545 #endif546 520 // Save observations 547 521 // -----------------
Note:
See TracChangeset
for help on using the changeset viewer.