Changeset 3383 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Aug 30, 2011, 4:56:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r3319 r3383 194 194 satData->lambda3 = c1 * t_CST::c / f1 + c2 * t_CST::c / f2; 195 195 196 _epoData.back()->satData GPS[satData->prn] = satData;196 _epoData.back()->satData[satData->prn] = satData; 197 197 } 198 198 else { … … 227 227 satData->lambda3 = c1 * t_CST::c / f1 + c2 * t_CST::c / f2; 228 228 229 _epoData.back()->satData Glo[satData->prn] = satData;229 _epoData.back()->satData[satData->prn] = satData; 230 230 } 231 231 else { … … 250 250 satData->L3 = c1 * satData->L1 + c5 * satData->L5; 251 251 satData->lambda3 = c1 * t_CST::c / f1 + c5 * t_CST::c / f5; 252 _epoData.back()->satData Gal[satData->prn] = satData;252 _epoData.back()->satData[satData->prn] = satData; 253 253 } 254 254 else { … … 459 459 // Data Pre-Processing 460 460 // ------------------- 461 QMutableMapIterator<QString, t_satData*> i GPS(_epoData.front()->satDataGPS);462 while (i GPS.hasNext()) {463 i GPS.next();464 QString prn = i GPS.key();465 t_satData* satData = i GPS.value();461 QMutableMapIterator<QString, t_satData*> it(_epoData.front()->satData); 462 while (it.hasNext()) { 463 it.next(); 464 QString prn = it.key(); 465 t_satData* satData = it.value(); 466 466 467 467 if (cmpToT(satData) != success) { 468 468 delete satData; 469 iGPS.remove(); 470 continue; 471 } 472 } 473 474 QMutableMapIterator<QString, t_satData*> iGlo(_epoData.front()->satDataGlo); 475 while (iGlo.hasNext()) { 476 iGlo.next(); 477 QString prn = iGlo.key(); 478 t_satData* satData = iGlo.value(); 479 480 if (cmpToT(satData) != success) { 481 delete satData; 482 iGlo.remove(); 483 continue; 484 } 485 } 486 487 QMutableMapIterator<QString, t_satData*> iGal(_epoData.front()->satDataGal); 488 while (iGal.hasNext()) { 489 iGal.next(); 490 QString prn = iGal.key(); 491 t_satData* satData = iGal.value(); 492 493 if (cmpToT(satData) != success) { 494 delete satData; 495 iGal.remove(); 469 it.remove(); 496 470 continue; 497 471 }
Note:
See TracChangeset
for help on using the changeset viewer.