Changeset 6432 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Dec 25, 2014, 6:11:49 PM (10 years ago)
- Location:
- trunk/BNC/src/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r6383 r6432 74 74 _checkMountPoint = settings.value("miscMount").toString(); 75 75 76 connect(this, SIGNAL(newGPSEph(gpsephemeris*)), 77 BNC_CORE, SLOT(slotNewGPSEph(gpsephemeris*))); 78 connect(this, SIGNAL(newGlonassEph(glonassephemeris*, const QString&)), 79 BNC_CORE, SLOT(slotNewGlonassEph(glonassephemeris*, const QString&))); 80 connect(this, SIGNAL(newGalileoEph(galileoephemeris*)), 81 BNC_CORE, SLOT(slotNewGalileoEph(galileoephemeris*))); 82 connect(this, SIGNAL(newSBASEph(sbasephemeris*)), 83 BNC_CORE, SLOT(slotNewSBASEph(sbasephemeris*))); 76 connect(this, SIGNAL(newGPSEph(t_ephGPS)), BNC_CORE, SLOT(slotNewGPSEph(t_ephGPS))); 77 connect(this, SIGNAL(newGlonassEph(t_ephGlo)), BNC_CORE, SLOT(slotNewGlonassEph(t_ephGlo))); 78 connect(this, SIGNAL(newGalileoEph(t_ephGal)), BNC_CORE, SLOT(slotNewGalileoEph(t_ephGal))); 79 connect(this, SIGNAL(newSBASEph(t_ephSBAS)), BNC_CORE, SLOT(slotNewSBASEph(t_ephSBAS))); 84 80 85 81 // Mode can be either observations or corrections … … 378 374 else if (rr == 1019) { 379 375 decoded = true; 380 emit newGPSEph(new gpsephemeris(parser.ephemerisGPS)); 376 t_ephGPS eph; eph.set(&parser.ephemerisGPS); 377 emit newGPSEph(eph); 381 378 } 382 379 … … 386 383 parser.ephemerisGLONASS.almanac_number <= PRN_GLONASS_NUM) { 387 384 decoded = true; 388 emit newGlonassEph(new glonassephemeris(parser.ephemerisGLONASS), _staID); 385 t_ephGlo eph; eph.set(&parser.ephemerisGLONASS); 386 emit newGlonassEph(eph); 389 387 } 390 388 … … 393 391 else if (rr == 1045 || rr == 1046) { 394 392 decoded = true; 395 emit newGalileoEph(new galileoephemeris(parser.ephemerisGALILEO)); 393 t_ephGal eph; eph.set(&parser.ephemerisGALILEO); 394 emit newGalileoEph(eph); 396 395 } 397 396 … … 400 399 else if (rr == 1044) { 401 400 decoded = true; 402 emit newGPSEph(new gpsephemeris(parser.ephemerisGPS)); 401 t_ephGPS eph; eph.set(&parser.ephemerisGPS); 402 emit newGPSEph(eph); 403 403 } 404 404 … … 407 407 else if (rr == 1043) { 408 408 decoded = true; 409 emit newSBASEph(new sbasephemeris(parser.ephemerisSBAS)); 409 t_ephSBAS eph; eph.set(&parser.ephemerisSBAS); 410 emit newSBASEph(eph); 410 411 } 411 412 } -
trunk/BNC/src/RTCM3/RTCM3Decoder.h
r6383 r6432 32 32 #include "RTCM3coDecoder.h" 33 33 #include "bncrawfile.h" 34 #include "ephemeris.h" 34 35 35 36 extern "C" { … … 47 48 signals: 48 49 void newMessage(QByteArray msg,bool showOnScreen); 49 void newGPSEph( gpsephemeris* gpseph);50 void newGlonassEph( glonassephemeris* glonasseph, const QString& staID);51 void newSBASEph( sbasephemeris* sbaseph);52 void newGalileoEph( galileoephemeris* galileoeph);50 void newGPSEph(t_ephGPS eph); 51 void newGlonassEph(t_ephGlo eph); 52 void newSBASEph(t_ephSBAS eph); 53 void newGalileoEph(t_ephGal eph); 53 54 54 55 private:
Note:
See TracChangeset
for help on using the changeset viewer.