Changeset 6068 in ntrip
- Timestamp:
- Sep 7, 2014, 10:13:42 AM (10 years ago)
- Location:
- trunk/BNC/src/PPP_free
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/bncpppclient.cpp
r6067 r6068 84 84 // 85 85 //////////////////////////////////////////////////////////////////////////// 86 void bncPPPclient::putNewObs(const t_obs& obs ) {86 void bncPPPclient::putNewObs(const t_obs& obs, t_output* output) { 87 87 QMutexLocker locker(&_mutex); 88 88 … … 132 132 } 133 133 else if (satData->tt != _epoData.back()->tt) { 134 processEpochs( );134 processEpochs(output); 135 135 _epoData.push(new t_epoData()); 136 136 _epoData.back()->tt = satData->tt; … … 407 407 // 408 408 //////////////////////////////////////////////////////////////////////////// 409 void bncPPPclient::processFrontEpoch( ) {409 void bncPPPclient::processFrontEpoch(t_output* output) { 410 410 411 411 #ifdef BNC_DEBUG … … 475 475 // 476 476 //////////////////////////////////////////////////////////////////////////// 477 void bncPPPclient::processEpochs( ) {477 void bncPPPclient::processEpochs(t_output* output) { 478 478 479 479 // Make sure the buffer does not grow beyond any limit … … 500 500 // ----------------------- 501 501 if (_opt->_corrWaitTime == 0.0 || frontEpoData->tt - _corr_tt >= _opt->_corrWaitTime) { 502 processFrontEpoch( );502 processFrontEpoch(output); 503 503 delete _epoData.front(); 504 504 _epoData.pop(); -
trunk/BNC/src/PPP_free/bncpppclient.h
r6067 r6068 37 37 class t_satData; 38 38 class t_epoData; 39 class t_output; 39 40 40 41 class bncPPPclient : public bncEphUser { … … 42 43 bncPPPclient(QByteArray staID, const t_pppOptions* opt); 43 44 ~bncPPPclient(); 44 void putNewObs(const t_obs& pp );45 void putNewObs(const t_obs& pp, t_output* output); 45 46 void putNewCorrections(QList<QString> corrList); 46 47 QByteArray staID() const {return _staID;} … … 62 63 63 64 t_irc getSatPos(const bncTime& tt, const QString& prn, ColumnVector& xc, ColumnVector& vv); 64 void processEpochs( );65 void processFrontEpoch( );65 void processEpochs(t_output* output); 66 void processFrontEpoch(t_output* output); 66 67 t_irc cmpToT(t_satData* satData); 67 68 static t_irc applyCorr(const bncTime& tt, const t_corr* cc, ColumnVector& xc, ColumnVector& vv);
Note:
See TracChangeset
for help on using the changeset viewer.