Changeset 2142 in ntrip
- Timestamp:
- Dec 31, 2009, 10:39:30 AM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncfigureppp.cpp
r2140 r2142 61 61 // 62 62 //////////////////////////////////////////////////////////////////////////// 63 void bncFigurePPP::slotNewPosition(const double* xyz) { 63 void bncFigurePPP::slotNewPosition(const bncTime& time, const double* xyz) { 64 64 65 65 const static int MAXNUMPOS = 1000; … … 67 67 QMutexLocker locker(&_mutex); 68 68 69 double* newPos = newdouble [3];69 pppPos* newPos = new pppPos; 70 70 71 newPos[0] = xyz[0]; 72 newPos[1] = xyz[1]; 73 newPos[2] = xyz[2]; 71 newPos->time = time; 72 newPos->xyz[0] = xyz[0]; 73 newPos->xyz[1] = xyz[1]; 74 newPos->xyz[2] = xyz[2]; 74 75 75 76 _pos.push_back(newPos); -
trunk/BNC/bncfigureppp.h
r2140 r2142 27 27 28 28 #include <QtGui> 29 #include "bnctime.h" 29 30 30 31 class bncFigurePPP : public QWidget { … … 35 36 36 37 public slots: 37 void slotNewPosition(const double* xyz); 38 void slotNewPosition(const bncTime& time, const double* xyz); 38 39 39 40 protected: … … 41 42 42 43 private: 44 class pppPos { 45 public: 46 bncTime time; 47 double xyz[3]; 48 }; 49 43 50 QMutex _mutex; 44 QVector< double*> _pos;51 QVector<pppPos*> _pos; 45 52 }; 46 53 -
trunk/BNC/bncgetthread.cpp
r2141 r2142 288 288 if (settings.value("pppMount").toString() == _staID) { 289 289 _PPPclient = new bncPPPclient(_staID); 290 connect(_PPPclient, SIGNAL(newPosition(const double*)), 291 this, SIGNAL(newPosition(const double*))); 290 connect(_PPPclient, SIGNAL(newPosition(const bncTime&, const double*)), 291 this, SIGNAL(newPosition(const bncTime&, const double*))); 292 292 } 293 293 -
trunk/BNC/bncgetthread.h
r2141 r2142 35 35 #include "bncconst.h" 36 36 #include "bncnetquery.h" 37 #include "bnctime.h" 37 38 38 39 class bncRinex; … … 81 82 void newMessage(QByteArray msg, bool showOnScreen); 82 83 void getThreadFinished(QByteArray staID); 83 void newPosition(const double*); 84 void newPosition(const bncTime& time, const double*); 84 85 85 86 protected: -
trunk/BNC/bncpppclient.h
r2123 r2142 92 92 void slotNewCorrections(QList<QString> corrList); 93 93 94 signals: 95 void newPosition(const bncTime& time, const double*); 96 94 97 private: 95 98 t_irc getSatPos(const bncTime& tt, const QString& prn, -
trunk/BNC/bncwindow.cpp
r2141 r2142 1222 1222 connect(thread, SIGNAL(newLatency(QByteArray, double)), 1223 1223 _bncFigureLate, SLOT(slotNewLatency(QByteArray, double))); 1224 disconnect(thread, SIGNAL(newPosition(const double*)), 1225 _bncFigurePPP, SLOT(slotNewPosition(const double*))); 1226 connect(thread, SIGNAL(newPosition(const double*)), 1227 _bncFigurePPP, SLOT(slotNewPosition(const double*))); 1224 disconnect(thread, SIGNAL(newPosition(const bncTime&, const double*)), 1225 _bncFigurePPP, SLOT(slotNewPosition(const bncTime&, const double*))); 1226 connect(thread, SIGNAL(newPosition(const bncTime&, const double*)), 1227 _bncFigurePPP, SLOT(slotNewPosition(const bncTime&, const double*))); 1228 1228 break; 1229 1229 }
Note:
See TracChangeset
for help on using the changeset viewer.