Changeset 5577 in ntrip for trunk/BNC


Ignore:
Timestamp:
Nov 25, 2013, 6:06:18 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
6 edited

Legend:

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

    r5576 r5577  
    7777          BNC_CORE, SLOT(slotNewCorrLine(QString, QString, bncTime)));
    7878
     79  connect(this, SIGNAL(providerIDChanged(QString)),
     80          BNC_CORE, SIGNAL(providerIDChanged(QString)));
     81
    7982  connect(this, SIGNAL(newMessage(QByteArray,bool)),
    8083          BNC_CORE, SLOT(slotMessage(const QByteArray,bool)));
     
    446449   
    447450  if (alreadySet && different) {
     451    emit providerIDChanged(_staID);
    448452    emit newMessage("RTCM3coDecoder: Provider Changed\n", true);
    449453  }
  • trunk/BNC/src/RTCM3/RTCM3coDecoder.h

    r5576 r5577  
    5252  void newCorrLine(QString line, QString staID, bncTime coTime);
    5353  void newMessage(QByteArray msg, bool showOnScreen);
     54  void providerIDChanged(QString staID);
    5455
    5556 private:
  • trunk/BNC/src/bnccore.cpp

    r5387 r5577  
    834834  }
    835835}
     836
  • trunk/BNC/src/bnccore.h

    r5387 r5577  
    8181    void newEphGalileo(galileoephemeris galileoeph);
    8282    void newCorrections(QList<QString>);
     83    void providerIDChanged(QString staID);
    8384   
    8485 private slots:
  • trunk/BNC/src/bncpppclient.cpp

    r5576 r5577  
    7676    connect(BNC_CORE, SIGNAL(newCorrections(QList<QString>)),
    7777            this, SLOT(slotNewCorrections(QList<QString>)));
     78
     79    connect(BNC_CORE, SIGNAL(providerIDChanged(QString)),
     80            this, SLOT(slotProviderIDChanged(QString)));
    7881  }
    7982}
     
    528531}
    529532
     533//
     534////////////////////////////////////////////////////////////////////////////
     535void bncPPPclient::slotProviderIDChanged(QString staID) {
     536  QMutexLocker locker(&_mutex);
     537
     538  if (staID != _opt->pppCorrMount) {
     539    return;
     540  }
     541  emit newMessage("bncPPPclient: Provider Changed\n", true);
     542}
  • trunk/BNC/src/bncpppclient.h

    r5576 r5577  
    133133 public slots:
    134134  void slotNewCorrections(QList<QString> corrList);
     135  void slotProviderIDChanged(QString staID);
    135136
    136137 signals:
Note: See TracChangeset for help on using the changeset viewer.