Changeset 6068 in ntrip for trunk/BNC/src/PPP_free


Ignore:
Timestamp:
Sep 7, 2014, 10:13:42 AM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP_free
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP_free/bncpppclient.cpp

    r6067 r6068  
    8484//
    8585////////////////////////////////////////////////////////////////////////////
    86 void bncPPPclient::putNewObs(const t_obs& obs) {
     86void bncPPPclient::putNewObs(const t_obs& obs, t_output* output) {
    8787  QMutexLocker locker(&_mutex);
    8888
     
    132132  }
    133133  else if (satData->tt != _epoData.back()->tt) {
    134     processEpochs();
     134    processEpochs(output);
    135135    _epoData.push(new t_epoData());
    136136    _epoData.back()->tt = satData->tt;
     
    407407//
    408408////////////////////////////////////////////////////////////////////////////
    409 void bncPPPclient::processFrontEpoch() {
     409void bncPPPclient::processFrontEpoch(t_output* output) {
    410410
    411411#ifdef BNC_DEBUG
     
    475475//
    476476////////////////////////////////////////////////////////////////////////////
    477 void bncPPPclient::processEpochs() {
     477void bncPPPclient::processEpochs(t_output* output) {
    478478
    479479  // Make sure the buffer does not grow beyond any limit
     
    500500    // -----------------------
    501501    if (_opt->_corrWaitTime == 0.0 || frontEpoData->tt - _corr_tt >= _opt->_corrWaitTime) {
    502       processFrontEpoch();
     502      processFrontEpoch(output);
    503503      delete _epoData.front();
    504504      _epoData.pop();
  • trunk/BNC/src/PPP_free/bncpppclient.h

    r6067 r6068  
    3737class t_satData;
    3838class t_epoData;
     39class t_output;
    3940
    4041class bncPPPclient : public bncEphUser {
     
    4243  bncPPPclient(QByteArray staID, const t_pppOptions* opt);
    4344  ~bncPPPclient();
    44   void                putNewObs(const t_obs& pp);
     45  void                putNewObs(const t_obs& pp, t_output* output);
    4546  void                putNewCorrections(QList<QString> corrList);
    4647  QByteArray          staID() const {return _staID;}
     
    6263
    6364  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);
    6667  t_irc cmpToT(t_satData* satData);
    6768  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.