Changeset 6598 in ntrip
- Timestamp:
- Feb 19, 2015, 6:18:11 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r6595 r6598 78 78 connect(this, SIGNAL(newGalileoEph(t_ephGal)), BNC_CORE, SLOT(slotNewGalileoEph(t_ephGal))); 79 79 connect(this, SIGNAL(newSBASEph(t_ephSBAS)), BNC_CORE, SLOT(slotNewSBASEph(t_ephSBAS))); 80 connect(this, SIGNAL(new CompassEph(t_ephCompass)), BNC_CORE, SLOT(slotNewCompassEph(t_ephCompass)));80 connect(this, SIGNAL(newBDSEph(t_ephBDS)), BNC_CORE, SLOT(slotNewBDSEph(t_ephBDS))); 81 81 82 82 // Mode can be either observations or corrections … … 262 262 } 263 263 264 // COMPASS264 // BDS 265 265 // ------------- 266 else if (satID >= PRN_ COMPASS_START && satID <= PRN_COMPASS_END) {267 obs._prn.set('C', satID - PRN_ COMPASS_START + 1);266 else if (satID >= PRN_BDS_START && satID <= PRN_BDS_END) { 267 obs._prn.set('C', satID - PRN_BDS_START + 1); 268 268 } 269 269 … … 412 412 } 413 413 414 // COMPASS Ephemeris414 // BDS Ephemeris 415 415 // ----------------- 416 else if (rr == 63) {417 decoded = true; 418 // t_ephCompass eph; eph.set(&parser.ephemerisCompass);419 // emit newCompassEph(eph);416 else if (rr == RTCM3ID_BDS) { 417 decoded = true; 418 t_ephBDS eph; eph.set(&parser.ephemerisBDS); 419 emit newBDSEph(eph); 420 420 } 421 421 } -
trunk/BNC/src/RTCM3/RTCM3Decoder.h
r6595 r6598 52 52 void newSBASEph(t_ephSBAS eph); 53 53 void newGalileoEph(t_ephGal eph); 54 void new CompassEph(t_ephCompasseph);54 void newBDSEph(t_ephBDS eph); 55 55 56 56 private: -
trunk/BNC/src/bnccore.cpp
r6595 r6598 119 119 qRegisterMetaType<t_ephGal> ("t_ephGal"); 120 120 qRegisterMetaType<t_ephSBAS> ("t_ephSBAS"); 121 qRegisterMetaType<t_eph Compass> ("t_ephCompass");121 qRegisterMetaType<t_ephBDS> ("t_ephBDS"); 122 122 qRegisterMetaType<QList<t_orbCorr> > ("QList<t_orbCorr>"); 123 123 qRegisterMetaType<QList<t_clkCorr> > ("QList<t_clkCorr>"); … … 250 250 } 251 251 252 // New CompassEphemeris253 //////////////////////////////////////////////////////////////////////////// 254 void t_bncCore::slotNew CompassEph(t_ephCompasseph) {252 // New BDS Ephemeris 253 //////////////////////////////////////////////////////////////////////////// 254 void t_bncCore::slotNewBDSEph(t_ephBDS eph) { 255 255 if (checkPrintEph(&eph) == success) { 256 emit new CompassEph(eph);256 emit newBDSEph(eph); 257 257 } 258 258 } -
trunk/BNC/src/bnccore.h
r6595 r6598 80 80 void slotNewGalileoEph(t_ephGal); 81 81 void slotNewSBASEph(t_ephSBAS); 82 void slotNew CompassEph(t_ephCompass);82 void slotNewBDSEph(t_ephBDS); 83 83 void slotNewOrbCorrections(QList<t_orbCorr>); 84 84 void slotNewClkCorrections(QList<t_clkCorr>); … … 94 94 void newSBASEph(t_ephSBAS eph); 95 95 void newGalileoEph(t_ephGal eph); 96 void new CompassEph(t_ephCompasseph);96 void newBDSEph(t_ephBDS eph); 97 97 void newOrbCorrections(QList<t_orbCorr>); 98 98 void newClkCorrections(QList<t_clkCorr>); -
trunk/BNC/src/bncephuser.cpp
r6595 r6598 1 // Part of BNC, a utility for retrieving decoding and2 1 // converting GNSS data streams from NTRIP broadcasters. 3 2 // … … 62 61 this, SLOT(slotNewSBASEph(t_ephSBAS)), Qt::DirectConnection); 63 62 64 connect(BNC_CORE, SIGNAL(new CompassEph(t_ephCompass)),65 this, SLOT(slotNew CompassEph(t_ephCompass)), Qt::DirectConnection);63 connect(BNC_CORE, SIGNAL(newBDSEph(t_ephBDS)), 64 this, SLOT(slotNewBDSEph(t_ephBDS)), Qt::DirectConnection); 66 65 } 67 66 } … … 104 103 } 105 104 106 // New CompassEphemeris107 //////////////////////////////////////////////////////////////////////////// 108 void bncEphUser::slotNew CompassEph(t_ephCompasseph) {105 // New BDS Ephemeris 106 //////////////////////////////////////////////////////////////////////////// 107 void bncEphUser::slotNewBDSEph(t_ephBDS eph) { 109 108 putNewEph(&eph, false); 110 109 } … … 128 127 const t_ephGal* ephGal = dynamic_cast<const t_ephGal*>(eph); 129 128 const t_ephSBAS* ephSBAS = dynamic_cast<const t_ephSBAS*>(eph); 130 const t_eph Compass* ephCompass = dynamic_cast<const t_ephCompass*>(eph);129 const t_ephBDS* ephBDS = dynamic_cast<const t_ephBDS*>(eph); 131 130 132 131 t_eph* newEph = 0; … … 144 143 newEph = new t_ephSBAS(*ephSBAS); 145 144 } 146 else if (eph Compass) {147 newEph = new t_eph Compass(*ephCompass);145 else if (ephBDS) { 146 newEph = new t_ephBDS(*ephBDS); 148 147 } 149 148 else { -
trunk/BNC/src/bncephuser.h
r6595 r6598 42 42 void slotNewGalileoEph(t_ephGal); 43 43 void slotNewSBASEph(t_ephSBAS); 44 void slotNew CompassEph(t_ephCompass);44 void slotNewBDSEph(t_ephBDS); 45 45 46 46 public:
Note:
See TracChangeset
for help on using the changeset viewer.