Changeset 2000 in ntrip for trunk/BNC/bncgetthread.cpp
- Timestamp:
- Nov 21, 2009, 3:35:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1973 r2000 63 63 #include "bncsettings.h" 64 64 #include "latencychecker.h" 65 #include "bncpppthread.h" 65 66 66 67 #include "RTCM/RTCM2Decoder.h" … … 122 123 _nextSleep = 0; 123 124 _rawOutFile = 0; 125 _PPPthread = 0; 124 126 125 127 bncSettings settings; … … 289 291 emit(newMessage(_staID + ": Get data in RTCM 2.x format", true)); 290 292 _decoder = new RTCM2Decoder(_staID.data()); 293 _PPPthread = new bncPPPthread(_staID); 291 294 } 292 295 else if (_format.indexOf("RTCM_3") != -1 || _format.indexOf("RTCM3") != -1 || … … 296 299 connect((RTCM3Decoder*) _decoder, SIGNAL(newMessage(QByteArray,bool)), 297 300 this, SIGNAL(newMessage(QByteArray,bool))); 301 _PPPthread = new bncPPPthread(_staID); 298 302 } 299 303 else if (_format.indexOf("RTIGS") != -1) { 300 304 emit(newMessage(_staID + ": Get data in RTIGS format", true)); 301 305 _decoder = new RTIGSDecoder(); 306 _PPPthread = new bncPPPthread(_staID); 302 307 } 303 308 else if (_format.indexOf("GPSS") != -1 || _format.indexOf("BNC") != -1) { … … 322 327 //////////////////////////////////////////////////////////////////////////// 323 328 bncGetThread::~bncGetThread() { 329 330 if (_PPPthread) { 331 _PPPthread->terminate(); 332 } 324 333 325 334 if (isRunning()) {
Note:
See TracChangeset
for help on using the changeset viewer.