Changeset 2142 in ntrip for trunk/BNC/bncfigureppp.cpp


Ignore:
Timestamp:
Dec 31, 2009, 10:39:30 AM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncfigureppp.cpp

    r2140 r2142  
    6161//
    6262////////////////////////////////////////////////////////////////////////////
    63 void bncFigurePPP::slotNewPosition(const double* xyz) {
     63void bncFigurePPP::slotNewPosition(const bncTime& time, const double* xyz) {
    6464
    6565  const static int MAXNUMPOS = 1000;
     
    6767  QMutexLocker locker(&_mutex);
    6868
    69   double* newPos = new double [3];
     69  pppPos* newPos = new pppPos;
    7070
    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];
    7475
    7576  _pos.push_back(newPos);
Note: See TracChangeset for help on using the changeset viewer.