Changeset 3011 in ntrip
- Timestamp:
- Feb 22, 2011, 7:19:04 PM (14 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3000 r3011 462 462 } 463 463 } 464 out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 464 465 out.setRealNumberNotation(QTextStream::FixedNotation); 465 466 out.setFieldWidth(8); … … 470 471 } 471 472 473 printResults(out, resCorr); 472 474 dumpResults(resTime, resCorr); 473 475 474 476 emit newMessage(_log, false); 475 477 } 478 479 // Print results to caster 480 //////////////////////////////////////////////////////////////////////////// 481 void bncComb::printResults(QTextStream& out, 482 const QMap<QString, t_corr*>& resCorr) { 483 484 QMapIterator<QString, t_corr*> it(resCorr); 485 while (it.hasNext()) { 486 it.next(); 487 t_corr* corr = it.value(); 488 out << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data(); 489 out << corr->prn << " " << corr->iod << " "; 490 out.setRealNumberNotation(QTextStream::FixedNotation); 491 out.setFieldWidth(8); 492 out.setRealNumberPrecision(4); 493 out << corr->dClk * t_CST::c << endl; 494 } 495 } -
trunk/BNC/combination/bnccomb.h
r2990 r3011 69 69 void dumpResults(const bncTime& resTime, 70 70 const QMap<QString, t_corr*>& resCorr); 71 void printResults(QTextStream& out, 72 const QMap<QString, t_corr*>& resCorr); 71 73 void switchToLastEph(const t_eph* lastEph, const t_eph* prevEph, 72 74 t_corr* newCorr);
Note:
See TracChangeset
for help on using the changeset viewer.