Changeset 6598 in ntrip for trunk/BNC/src/bncephuser.cpp


Ignore:
Timestamp:
Feb 19, 2015, 6:18:11 PM (9 years ago)
Author:
stoecker
Message:

rename Compass to BDS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncephuser.cpp

    r6595 r6598  
    1 // Part of BNC, a utility for retrieving decoding and
    21// converting GNSS data streams from NTRIP broadcasters.
    32//
     
    6261            this, SLOT(slotNewSBASEph(t_ephSBAS)), Qt::DirectConnection);
    6362
    64     connect(BNC_CORE, SIGNAL(newCompassEph(t_ephCompass)),
    65             this, SLOT(slotNewCompassEph(t_ephCompass)), Qt::DirectConnection);
     63    connect(BNC_CORE, SIGNAL(newBDSEph(t_ephBDS)),
     64            this, SLOT(slotNewBDSEph(t_ephBDS)), Qt::DirectConnection);
    6665  }
    6766}
     
    104103}
    105104
    106 // New Compass Ephemeris
    107 ////////////////////////////////////////////////////////////////////////////
    108 void bncEphUser::slotNewCompassEph(t_ephCompass eph) {
     105// New BDS Ephemeris
     106////////////////////////////////////////////////////////////////////////////
     107void bncEphUser::slotNewBDSEph(t_ephBDS eph) {
    109108  putNewEph(&eph, false);
    110109}
     
    128127  const t_ephGal*     ephGal     = dynamic_cast<const t_ephGal*>(eph);
    129128  const t_ephSBAS*    ephSBAS    = dynamic_cast<const t_ephSBAS*>(eph);
    130   const t_ephCompass* ephCompass = dynamic_cast<const t_ephCompass*>(eph);
     129  const t_ephBDS*     ephBDS     = dynamic_cast<const t_ephBDS*>(eph);
    131130
    132131  t_eph* newEph = 0;
     
    144143    newEph = new t_ephSBAS(*ephSBAS);
    145144  }
    146   else if (ephCompass) {
    147     newEph = new t_ephCompass(*ephCompass);
     145  else if (ephBDS) {
     146    newEph = new t_ephBDS(*ephBDS);
    148147  }
    149148  else {
Note: See TracChangeset for help on using the changeset viewer.