Changeset 6595 in ntrip


Ignore:
Timestamp:
Feb 18, 2015, 1:33:03 PM (6 years ago)
Author:
stuerze
Message:

some preparation to read RTCM3 Compass ephemeris messages

Location:
trunk/BNC/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3Decoder.cpp

    r6543 r6595  
    7878  connect(this, SIGNAL(newGalileoEph(t_ephGal)), BNC_CORE, SLOT(slotNewGalileoEph(t_ephGal)));
    7979  connect(this, SIGNAL(newSBASEph(t_ephSBAS)),   BNC_CORE, SLOT(slotNewSBASEph(t_ephSBAS)));
     80  connect(this, SIGNAL(newCompassEph(t_ephCompass)), BNC_CORE, SLOT(slotNewCompassEph(t_ephCompass)));
    8081
    8182  // Mode can be either observations or corrections
     
    410411            emit newSBASEph(eph);
    411412          }
     413
     414          // COMPASS Ephemeris
     415          // -----------------
     416          else if (rr == 63) {
     417            decoded = true;
     418//            t_ephCompass eph; eph.set(&parser.ephemerisCompass);
     419//            emit newCompassEph(eph);
     420          }
    412421        }
    413422      }
  • trunk/BNC/src/RTCM3/RTCM3Decoder.h

    r6432 r6595  
    5252  void newSBASEph(t_ephSBAS eph);
    5353  void newGalileoEph(t_ephGal eph);
     54  void newCompassEph(t_ephCompass eph);
    5455
    5556 private:
  • trunk/BNC/src/bnccore.cpp

    r6522 r6595  
    250250}
    251251
     252// New Compass Ephemeris
     253////////////////////////////////////////////////////////////////////////////
     254void t_bncCore::slotNewCompassEph(t_ephCompass eph) {
     255  if (checkPrintEph(&eph) == success) {
     256    emit newCompassEph(eph);
     257  }
     258}
    252259
    253260// Print Header of the output File(s)
  • trunk/BNC/src/bnccore.h

    r6520 r6595  
    8080  void slotNewGalileoEph(t_ephGal);
    8181  void slotNewSBASEph(t_ephSBAS);
     82  void slotNewCompassEph(t_ephCompass);
    8283  void slotNewOrbCorrections(QList<t_orbCorr>);
    8384  void slotNewClkCorrections(QList<t_clkCorr>);
     
    9394  void newSBASEph(t_ephSBAS eph);
    9495  void newGalileoEph(t_ephGal eph);
     96  void newCompassEph(t_ephCompass eph);
    9597  void newOrbCorrections(QList<t_orbCorr>);
    9698  void newClkCorrections(QList<t_clkCorr>);
  • trunk/BNC/src/bncephuser.cpp

    r6566 r6595  
    6161    connect(BNC_CORE, SIGNAL(newSBASEph(t_ephSBAS)),
    6262            this, SLOT(slotNewSBASEph(t_ephSBAS)), Qt::DirectConnection);
     63
     64    connect(BNC_CORE, SIGNAL(newCompassEph(t_ephCompass)),
     65            this, SLOT(slotNewCompassEph(t_ephCompass)), Qt::DirectConnection);
    6366  }
    6467}
     
    98101////////////////////////////////////////////////////////////////////////////
    99102void bncEphUser::slotNewSBASEph(t_ephSBAS eph) {
     103  putNewEph(&eph, false);
     104}
     105
     106// New Compass Ephemeris
     107////////////////////////////////////////////////////////////////////////////
     108void bncEphUser::slotNewCompassEph(t_ephCompass eph) {
    100109  putNewEph(&eph, false);
    101110}
  • trunk/BNC/src/bncephuser.h

    r6519 r6595  
    4242  void slotNewGalileoEph(t_ephGal);
    4343  void slotNewSBASEph(t_ephSBAS);
     44  void slotNewCompassEph(t_ephCompass);
    4445
    4546 public:
Note: See TracChangeset for help on using the changeset viewer.