Changeset 5722 in ntrip for trunk/BNC/src/PPP/pppThread.cpp


Ignore:
Timestamp:
Jul 31, 2014, 1:57:27 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppThread.cpp

    r5721 r5722  
    6565void t_pppThread::run() {
    6666
    67 
    6867  // Connect to BNC Signals
    6968  // ----------------------
    70   connect(BNC_CORE, SIGNAL(newCorrections(QList<QString>)),
    71           this, SLOT(slotNewCorrections(QList<QString>)));
     69  if (BNC_CORE->caster()) {
     70    connect(BNC_CORE->caster(), SIGNAL(newObs(QByteArray, QList<t_obs>)),
     71          this,      SLOT(slotNewObs(QByteArray, QList<t_obs>)));
    7272
    73   connect(BNC_CORE, SIGNAL(newEphGPS(gpsephemeris)),
    74           this, SLOT(slotNewEphGPS(gpsephemeris)));
     73    connect(BNC_CORE, SIGNAL(newEphGPS(gpsephemeris)),
     74            this, SLOT(slotNewEphGPS(gpsephemeris)));
     75 
     76    connect(BNC_CORE, SIGNAL(newEphGlonass(glonassephemeris)),
     77            this, SLOT(slotNewEphGlonass(glonassephemeris)));
     78 
     79    connect(BNC_CORE, SIGNAL(newEphGalileo(galileoephemeris)),
     80            this, SLOT(slotNewEphGalileo(galileoephemeris)));
    7581
    76   connect(BNC_CORE, SIGNAL(newEphGlonass(glonassephemeris)),
    77           this, SLOT(slotNewEphGlonass(glonassephemeris)));
    78 
    79   connect(BNC_CORE, SIGNAL(newEphGalileo(galileoephemeris)),
    80           this, SLOT(slotNewEphGalileo(galileoephemeris)));
     82    connect(BNC_CORE, SIGNAL(newCorrections(QList<QString>)),
     83            this, SLOT(slotNewCorrections(QList<QString>)));
     84  }
    8185 
    8286  // Start processing loop
Note: See TracChangeset for help on using the changeset viewer.