Changeset 2142 in ntrip for trunk/BNC/bncfigureppp.cpp
- Timestamp:
- Dec 31, 2009, 10:39:30 AM (14 years ago)
- File:
-
- 1 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 = new double [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);
Note:
See TracChangeset
for help on using the changeset viewer.