Changeset 5954 in ntrip


Ignore:
Timestamp:
Aug 16, 2014, 3:41:47 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
8 edited

Legend:

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

    r5953 r5954  
    6767          BNC_CORE, SLOT(slotMessage(const QByteArray,bool)));
    6868
    69   connect(this, SIGNAL(newPosition(bncTime, QVector<double>)),
    70           BNC_CORE, SIGNAL(newPosition(bncTime, QVector<double>)));
     69  connect(this, SIGNAL(newPosition(QByteArray, bncTime, QVector<double>)),
     70          BNC_CORE, SIGNAL(newPosition(QByteArray, bncTime, QVector<double>)));
    7171
    7272  for (unsigned iPrn = 0; iPrn <= t_prn::MAXPRN; iPrn++) {
     
    233233      xx.data()[4] = output._neu[1];
    234234      xx.data()[5] = output._neu[2];
    235       emit newPosition(output._epoTime, xx);
     235      emit newPosition(staID, output._epoTime, xx);
    236236    }
    237237
  • trunk/BNC/src/PPP/pppRun.h

    r5951 r5954  
    2626 signals:
    2727  void newMessage(QByteArray msg, bool showOnScreen);
    28   void newPosition(bncTime time, QVector<double> xx);
    29   void newNMEAstr(QByteArray str);
     28  void newPosition(QByteArray staID, bncTime time, QVector<double> xx);
     29  void newNMEAstr(QByteArray staID, QByteArray str);
    3030  void progressRnxPPP(int);
    3131  void finishedRnxPPP();
  • trunk/BNC/src/bnccore.h

    r5950 r5954  
    9191  void newCorrections(QStringList);
    9292  void providerIDChanged(QString);
    93   void newPosition(bncTime time, QVector<double> xx);
     93  void newPosition(QByteArray staID, bncTime time, QVector<double> xx);
    9494  void progressRnxPPP(int);
    9595  void finishedRnxPPP();
  • trunk/BNC/src/bncfigureppp.cpp

    r5882 r5954  
    7575//
    7676////////////////////////////////////////////////////////////////////////////
    77 void bncFigurePPP::slotNewPosition(bncTime time, QVector<double> xx){
     77void bncFigurePPP::slotNewPosition(QByteArray staID, bncTime time, QVector<double> xx){
    7878
    7979  QMutexLocker locker(&_mutex);
     80
     81  bncSettings settings;
     82  if (settings.value("PPP/plotCoordinates").toByteArray() != staID) {
     83    return;
     84  }
    8085
    8186  pppPos* newPos = new pppPos;
  • trunk/BNC/src/bncfigureppp.h

    r5881 r5954  
    3737
    3838 public slots:
    39   void slotNewPosition(bncTime time, QVector<double> xx);
     39  void slotNewPosition(QByteArray staID, bncTime time, QVector<double> xx);
    4040
    4141 protected:
  • trunk/BNC/src/bncwindow.cpp

    r5947 r5954  
    9191  _bncFigurePPP  = new bncFigurePPP(this);
    9292
    93   connect(BNC_CORE, SIGNAL(newPosition(bncTime, QVector<double>)),
    94           _bncFigurePPP, SLOT(slotNewPosition(bncTime, QVector<double>)));
     93  connect(BNC_CORE, SIGNAL(newPosition(QByteArray, bncTime, QVector<double>)),
     94          _bncFigurePPP, SLOT(slotNewPosition(QByteArray, bncTime, QVector<double>)));
    9595
    9696  connect(BNC_CORE, SIGNAL(progressRnxPPP(int)), this, SLOT(slotPostProgress(int)));
     
    24362436    _mapWin = new bncMapWin(this);
    24372437    connect(_mapWin, SIGNAL(mapClosed()), this, SLOT(slotMapPPPClosed()));
    2438     connect(BNC_CORE, SIGNAL(newPosition(bncTime, QVector<double>)),
    2439             _mapWin, SLOT(slotNewPosition(bncTime, QVector<double>)));
     2438    connect(BNC_CORE, SIGNAL(newPosition(QByteArray, bncTime, QVector<double>)),
     2439            _mapWin, SLOT(slotNewPosition(QByteArray, bncTime, QVector<double>)));
    24402440  }
    24412441  _mapWin->show();
  • trunk/BNC/src/map/bncmapwin.cpp

    r5952 r5954  
    164164//
    165165////////////////////////////////////////////////////////////////////////////
    166 void bncMapWin::slotNewPosition(bncTime /* time */, QVector<double> xx) {
     166void bncMapWin::slotNewPosition(QByteArray /* staID */, bncTime /* time */, QVector<double> xx) {
    167167  double ell[3];
    168168  xyz2ell(xx.data(), ell);
  • trunk/BNC/src/map/bncmapwin.h

    r5879 r5954  
    4141
    4242 public slots:
    43   void slotNewPosition(bncTime time, QVector<double> xx);
     43  void slotNewPosition(QByteArray staID, bncTime time, QVector<double> xx);
    4444
    4545 private slots:
Note: See TracChangeset for help on using the changeset viewer.