Changeset 5954 in ntrip
- Timestamp:
- Aug 16, 2014, 3:41:47 PM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/PPP/pppRun.cpp ¶
r5953 r5954 67 67 BNC_CORE, SLOT(slotMessage(const QByteArray,bool))); 68 68 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>))); 71 71 72 72 for (unsigned iPrn = 0; iPrn <= t_prn::MAXPRN; iPrn++) { … … 233 233 xx.data()[4] = output._neu[1]; 234 234 xx.data()[5] = output._neu[2]; 235 emit newPosition(output._epoTime, xx); 235 emit newPosition(staID, output._epoTime, xx); 236 236 } 237 237 -
TabularUnified trunk/BNC/src/PPP/pppRun.h ¶
r5951 r5954 26 26 signals: 27 27 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); 30 30 void progressRnxPPP(int); 31 31 void finishedRnxPPP(); -
TabularUnified trunk/BNC/src/bnccore.h ¶
r5950 r5954 91 91 void newCorrections(QStringList); 92 92 void providerIDChanged(QString); 93 void newPosition(bncTime time, QVector<double> xx); 93 void newPosition(QByteArray staID, bncTime time, QVector<double> xx); 94 94 void progressRnxPPP(int); 95 95 void finishedRnxPPP(); -
TabularUnified trunk/BNC/src/bncfigureppp.cpp ¶
r5882 r5954 75 75 // 76 76 //////////////////////////////////////////////////////////////////////////// 77 void bncFigurePPP::slotNewPosition(bncTime time, QVector<double> xx){ 77 void bncFigurePPP::slotNewPosition(QByteArray staID, bncTime time, QVector<double> xx){ 78 78 79 79 QMutexLocker locker(&_mutex); 80 81 bncSettings settings; 82 if (settings.value("PPP/plotCoordinates").toByteArray() != staID) { 83 return; 84 } 80 85 81 86 pppPos* newPos = new pppPos; -
TabularUnified trunk/BNC/src/bncfigureppp.h ¶
r5881 r5954 37 37 38 38 public slots: 39 void slotNewPosition(bncTime time, QVector<double> xx); 39 void slotNewPosition(QByteArray staID, bncTime time, QVector<double> xx); 40 40 41 41 protected: -
TabularUnified trunk/BNC/src/bncwindow.cpp ¶
r5947 r5954 91 91 _bncFigurePPP = new bncFigurePPP(this); 92 92 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>))); 95 95 96 96 connect(BNC_CORE, SIGNAL(progressRnxPPP(int)), this, SLOT(slotPostProgress(int))); … … 2436 2436 _mapWin = new bncMapWin(this); 2437 2437 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>))); 2440 2440 } 2441 2441 _mapWin->show(); -
TabularUnified trunk/BNC/src/map/bncmapwin.cpp ¶
r5952 r5954 164 164 // 165 165 //////////////////////////////////////////////////////////////////////////// 166 void bncMapWin::slotNewPosition(bncTime /* time */, QVector<double> xx) { 166 void bncMapWin::slotNewPosition(QByteArray /* staID */, bncTime /* time */, QVector<double> xx) { 167 167 double ell[3]; 168 168 xyz2ell(xx.data(), ell); -
TabularUnified trunk/BNC/src/map/bncmapwin.h ¶
r5879 r5954 41 41 42 42 public slots: 43 void slotNewPosition(bncTime time, QVector<double> xx); 43 void slotNewPosition(QByteArray staID, bncTime time, QVector<double> xx); 44 44 45 45 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.