Changeset 943 in ntrip
- Timestamp:
- Jun 9, 2008, 4:31:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r942 r943 449 449 allLines += line; 450 450 451 printOutput(printFile, lineV2, lineV3, allLines); 451 printOutput(printFile, _ephStreamGPS, lineV2, lineV3, allLines); 452 452 } 453 453 … … 497 497 allLines += line; 498 498 499 printOutput(printFile, lineV2, lineV3, allLines); 499 printOutput(printFile, _ephStreamGlonass, lineV2, lineV3, allLines); 500 500 } 501 501 502 502 // Output 503 503 //////////////////////////////////////////////////////////////////////////// 504 void bncApp::printOutput(bool printFile, const QString& lineV2, 504 void bncApp::printOutput(bool printFile, QTextStream* stream, 505 const QString& lineV2, 505 506 const QString& lineV3, 506 507 const QByteArray& allLines) { 507 508 // Output into file 508 509 // ---------------- 509 if (printFile && _ephStreamGPS) {510 if (printFile && stream) { 510 511 if (_rinexVers == 2) { 511 * _ephStreamGPS<< lineV2.toAscii();512 *stream << lineV2.toAscii(); 512 513 } 513 514 else { 514 * _ephStreamGPS<< lineV3.toAscii();515 } 516 * _ephStreamGPS<< allLines;517 _ephStreamGPS->flush();515 *stream << lineV3.toAscii(); 516 } 517 *stream << allLines; 518 stream->flush(); 518 519 } 519 520
Note:
See TracChangeset
for help on using the changeset viewer.