Changeset 7641 in ntrip
- Timestamp:
- Dec 18, 2015, 3:18:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r7179 r7641 102 102 RTCM3coDecoder::~RTCM3coDecoder() { 103 103 delete _out; 104 _IODs.clear(); 105 _orbCorrections.clear(); 106 _clkCorrections.clear(); 107 _lastClkCorrections.clear(); 108 _codeBiases.clear(); 109 _phaseBiases.clear(); 110 _vTecMap.clear(); 104 111 } 105 112 106 // 113 // 107 114 //////////////////////////////////////////////////////////////////////////// 108 115 void RTCM3coDecoder::reset() { … … 169 176 170 177 int bytesused = 0; 171 GCOB_RETURN irc = GetSSR(&_clkOrb, &_codeBias, &_vTEC, &_phaseBias, 178 GCOB_RETURN irc = GetSSR(&_clkOrb, &_codeBias, &_vTEC, &_phaseBias, 172 179 _buffer.data(), _buffer.size(), &bytesused); 173 180 … … 191 198 192 199 setEpochTime(); // sets _lastTime 193 194 if (_lastTime.valid()) { 200 201 if (_lastTime.valid()) { 195 202 reopen(); 196 203 checkProviderID(); … … 486 493 t_orbCorr::writeEpoch(_out, itOrb.value()); 487 494 itOrb.remove(); 488 } 495 } 489 496 } 490 497 QMutableMapIterator<bncTime, QList<t_clkCorr> > itClk(_clkCorrections); … … 495 502 t_clkCorr::writeEpoch(_out, itClk.value()); 496 503 itClk.remove(); 497 } 504 } 498 505 } 499 506 QMutableMapIterator<bncTime, QList<t_satCodeBias> > itCB(_codeBiases); … … 504 511 t_satCodeBias::writeEpoch(_out, itCB.value()); 505 512 itCB.remove(); 506 } 513 } 507 514 } 508 515 QMutableMapIterator<bncTime, QList<t_satPhaseBias> > itPB(_phaseBiases); … … 513 520 t_satPhaseBias::writeEpoch(_out, itPB.value()); 514 521 itPB.remove(); 515 } 522 } 516 523 } 517 524 QMutableMapIterator<bncTime, t_vTec> itTec(_vTecMap); … … 522 529 t_vTec::write(_out, itTec.value()); 523 530 itTec.remove(); 524 } 531 } 525 532 } 526 533 } … … 574 581 } 575 582 else if (_codeBias.NumberOfSat[CLOCKORBIT_SATGPS] > 0) { 576 epoSecGPS = _codeBias.EpochTime[CLOCKORBIT_SATGPS]; // 0 .. 604799 s 583 epoSecGPS = _codeBias.EpochTime[CLOCKORBIT_SATGPS]; // 0 .. 604799 s 577 584 } 578 585 else if (_phaseBias.NumberOfSat[CLOCKORBIT_SATGPS] > 0) { 579 epoSecGPS = _phaseBias.EpochTime[CLOCKORBIT_SATGPS]; // 0 .. 604799 s 586 epoSecGPS = _phaseBias.EpochTime[CLOCKORBIT_SATGPS]; // 0 .. 604799 s 580 587 } 581 588 else if (_vTEC.NumLayers > 0) { 582 epoSecGPS = _vTEC.EpochTime; // 0 .. 604799 s 589 epoSecGPS = _vTEC.EpochTime; // 0 .. 604799 s 583 590 } 584 591 else if (_clkOrb.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0) { … … 687 694 case CODETYPEGPS_L5_I: return "5I"; 688 695 case CODETYPEGPS_L5_Q: return "5Q"; 689 default: return ""; 696 default: return ""; 690 697 } 691 698 } … … 696 703 case CODETYPEGLONASS_L2_CA: return "2C"; 697 704 case CODETYPEGLONASS_L2_P: return "2P"; 698 default: return ""; 705 default: return ""; 699 706 } 700 707 } … … 713 720 case CODETYPEGALILEO_E6_B: return "6B"; 714 721 case CODETYPEGALILEO_E6_C: return "6C"; 715 default: return ""; 722 default: return ""; 716 723 } 717 724 } … … 731 738 case CODETYPEQZSS_LEX_L: return "6L"; 732 739 case CODETYPEQZSS_LEX_SL: return "6X"; 733 default: return ""; 740 default: return ""; 734 741 } 735 742 } … … 740 747 case CODETYPE_SBAS_L5_Q: return "5Q"; 741 748 case CODETYPE_SBAS_L5_IQ: return "5X"; 742 default: return ""; 749 default: return ""; 743 750 } 744 751 } … … 754 761 case CODETYPE_BDS_B3_Q: return "6Q"; 755 762 case CODETYPE_BDS_B3_IQ: return "6X"; 756 default: return ""; 763 default: return ""; 757 764 } 758 765 }
Note:
See TracChangeset
for help on using the changeset viewer.