- Timestamp:
- Nov 21, 2009, 4:17:37 PM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r2000 r2004 284 284 // _rawOutFile->open(QIODevice::WriteOnly); 285 285 286 // Initialize PPP Clinet? 287 // ---------------------- 288 bool pppClient = false; 289 if (settings.value("pppMount").toString() == _staID) { 290 pppClient = true; 291 } 286 292 287 293 // Instantiate the decoder … … 291 297 emit(newMessage(_staID + ": Get data in RTCM 2.x format", true)); 292 298 _decoder = new RTCM2Decoder(_staID.data()); 293 _PPPthread = new bncPPPthread(_staID); 299 if (pppClient) { 300 _PPPthread = new bncPPPthread(_staID); 301 } 294 302 } 295 303 else if (_format.indexOf("RTCM_3") != -1 || _format.indexOf("RTCM3") != -1 || … … 299 307 connect((RTCM3Decoder*) _decoder, SIGNAL(newMessage(QByteArray,bool)), 300 308 this, SIGNAL(newMessage(QByteArray,bool))); 301 _PPPthread = new bncPPPthread(_staID); 309 if (pppClient) { 310 _PPPthread = new bncPPPthread(_staID); 311 } 302 312 } 303 313 else if (_format.indexOf("RTIGS") != -1) { 304 314 emit(newMessage(_staID + ": Get data in RTIGS format", true)); 305 315 _decoder = new RTIGSDecoder(); 306 _PPPthread = new bncPPPthread(_staID); 316 if (pppClient) { 317 _PPPthread = new bncPPPthread(_staID); 318 } 307 319 } 308 320 else if (_format.indexOf("GPSS") != -1 || _format.indexOf("BNC") != -1) { -
trunk/BNC/bncpppthread.cpp
r2002 r2004 50 50 _staID = staID; 51 51 _isToBeDeleted = false; 52 cout << "PPP Client " << _staID.data() << " constructor\n"; 52 53 } 53 54 … … 58 59 wait(); 59 60 } 61 cout << "PPP Client " << _staID.data() << " destructor\n"; 60 62 } 61 63 … … 92 94 void bncPPPthread::slotNewEpochData(QList<p_obs> obsList) { 93 95 QMutexLocker locker(&_mutex); 96 cout << "PPP Client: new observations " << obsList.size() << endl; 94 97 } 95 98 … … 98 101 void bncPPPthread::slotNewEphGPS(gpsephemeris gpseph) { 99 102 QMutexLocker locker(&_mutex); 103 cout << "PPP Client: new ephemeris " << gpseph.satellite << endl; 100 104 } 101 105 … … 104 108 void bncPPPthread::slotNewCorrections(QList<QString> corrList) { 105 109 QMutexLocker locker(&_mutex); 110 cout << "PPP Client: new corrections " << corrList.size() << endl; 106 111 }
Note:
See TracChangeset
for help on using the changeset viewer.