Changeset 6456 in ntrip
- Timestamp:
- Dec 27, 2014, 4:05:52 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r6455 r6456 363 363 if (itOrb.key() < _lastTime) { 364 364 emit newOrbCorrections(itOrb.value()); 365 if (_out) { 366 t_orbCorr::writeEpoch(_out, itOrb.value()); 367 } 365 t_orbCorr::writeEpoch(_out, itOrb.value()); 368 366 itOrb.remove(); 369 367 } … … 374 372 if (itClk.key() < _lastTime) { 375 373 emit newClkCorrections(itClk.value()); 376 if (_out) { 377 t_clkCorr::writeEpoch(_out, itClk.value()); 378 } 374 t_clkCorr::writeEpoch(_out, itClk.value()); 379 375 itClk.remove(); 380 376 } 381 }382 383 if (_out) {384 _out->flush();385 377 } 386 378 } -
trunk/BNC/src/satObs.cpp
r6455 r6456 22 22 //////////////////////////////////////////////////////////////////////////// 23 23 void t_clkCorr::writeEpoch(std::ostream* out, const QList<t_clkCorr>& corrList) { 24 if (!out || corrList.size() == 0) { 25 return; 26 } 24 27 *out << "CLOCK CORRECTIONS: " << corrList.size() << endl; 28 29 out->flush(); 25 30 } 26 31 … … 44 49 //////////////////////////////////////////////////////////////////////////// 45 50 void t_orbCorr::writeEpoch(std::ostream* out, const QList<t_orbCorr>& corrList) { 51 if (!out || corrList.size() == 0) { 52 return; 53 } 46 54 *out << "ORB CORRECTIONS: " << corrList.size() << endl; 55 56 out->flush(); 47 57 } 48 58
Note:
See TracChangeset
for help on using the changeset viewer.