Changeset 5206 in ntrip for trunk/BNC/src
- Timestamp:
- Jun 11, 2013, 3:24:07 PM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r5070 r5206 76 76 connect(this, SIGNAL(newGPSEph(gpsephemeris*)), 77 77 BNC_CORE, SLOT(slotNewGPSEph(gpsephemeris*))); 78 connect(this, SIGNAL(newGlonassEph(glonassephemeris* )),79 BNC_CORE, SLOT(slotNewGlonassEph(glonassephemeris* )));78 connect(this, SIGNAL(newGlonassEph(glonassephemeris*, const QString&)), 79 BNC_CORE, SLOT(slotNewGlonassEph(glonassephemeris*, const QString&))); 80 80 connect(this, SIGNAL(newGalileoEph(galileoephemeris*)), 81 81 BNC_CORE, SLOT(slotNewGalileoEph(galileoephemeris*))); … … 359 359 else if (rr == 1020) { 360 360 decoded = true; 361 emit newGlonassEph(new glonassephemeris(parser.ephemerisGLONASS) );361 emit newGlonassEph(new glonassephemeris(parser.ephemerisGLONASS), _staID); 362 362 } 363 363 -
trunk/BNC/src/RTCM3/RTCM3Decoder.h
r3578 r5206 49 49 void newMessage(QByteArray msg,bool showOnScreen); 50 50 void newGPSEph(gpsephemeris* gpseph); 51 void newGlonassEph(glonassephemeris* glonasseph );51 void newGlonassEph(glonassephemeris* glonasseph, const QString& staID); 52 52 void newGalileoEph(galileoephemeris* galileoeph); 53 53 -
trunk/BNC/src/bnccore.cpp
r5133 r5206 249 249 // New Glonass Ephemeris 250 250 //////////////////////////////////////////////////////////////////////////// 251 void t_bncCore::slotNewGlonassEph(glonassephemeris* glonasseph ) {251 void t_bncCore::slotNewGlonassEph(glonassephemeris* glonasseph, const QString& staID) { 252 252 253 253 QMutexLocker locker(&_mutex); … … 285 285 delete *ee; 286 286 *ee = glonasseph; 287 printGlonassEph(glonasseph, true );287 printGlonassEph(glonasseph, true, staID); 288 288 } 289 289 else { 290 printGlonassEph(glonasseph, false );290 printGlonassEph(glonasseph, false, staID); 291 291 delete glonasseph; 292 292 } … … 515 515 // Print One Glonass Ephemeris 516 516 //////////////////////////////////////////////////////////////////////////// 517 void t_bncCore::printGlonassEph(glonassephemeris* ep, bool printFile ) {517 void t_bncCore::printGlonassEph(glonassephemeris* ep, bool printFile, const QString& staID) { 518 518 519 519 t_ephGlo eph; … … 522 522 QString strV2 = eph.toString(2.11); 523 523 QString strV3 = eph.toString(3.01); 524 525 //// beg test Dirk 526 //// cout << staID.toAscii().data() << endl 527 //// << strV3.toAscii().data() << endl; 528 //// end test Dirk 524 529 525 530 printOutput(printFile, _ephStreamGlonass, strV2, strV3); -
trunk/BNC/src/bnccore.h
r5121 r5206 70 70 void slotMessage(QByteArray msg, bool showOnScreen); 71 71 void slotNewGPSEph(gpsephemeris* gpseph); 72 void slotNewGlonassEph(glonassephemeris* glonasseph );72 void slotNewGlonassEph(glonassephemeris* glonasseph, const QString& staID); 73 73 void slotNewGalileoEph(galileoephemeris* galileoeph); 74 74 void slotNewCorrLine(QString line, QString staID, bncTime coTime); … … 88 88 void printEphHeader(); 89 89 void printGPSEph(gpsephemeris* ep, bool printFile); 90 void printGlonassEph(glonassephemeris* ep, bool printFile );90 void printGlonassEph(glonassephemeris* ep, bool printFile, const QString& staID); 91 91 void printGalileoEph(galileoephemeris* ep, bool printFile); 92 92 void printOutput(bool printFile, QTextStream* stream,
Note:
See TracChangeset
for help on using the changeset viewer.