Changeset 7249 in ntrip


Ignore:
Timestamp:
Aug 24, 2015, 3:47:51 PM (7 years ago)
Author:
stuerze
Message:

vtec data are added

Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppObsPool.cpp

    r7237 r7249  
    4444    _satCodeBiases[ii] = 0;
    4545  }
     46  _vTec = 0;
    4647}
    4748
     
    5253    delete _satCodeBiases[ii];
    5354  }
     55  delete _vTec;
    5456  while (_epochs.size() > 0) {
    5557    delete _epochs.front();
     
    6870//
    6971/////////////////////////////////////////////////////////////////////////////
     72void t_pppObsPool::putTec(t_vTec* vTec) {
     73   delete _vTec;
     74  _vTec = new t_vTec(*vTec);
     75}
     76
     77//
     78/////////////////////////////////////////////////////////////////////////////
    7079void t_pppObsPool::putEpoch(const bncTime& epoTime, vector<t_pppSatObs*>& obsVector) {
    7180  const unsigned MAXSIZE = 2;
  • trunk/BNC/src/PPP/pppObsPool.h

    r7237 r7249  
    2727  ~t_pppObsPool();
    2828  void putCodeBias(t_satCodeBias* satCodeBias);
     29  void putTec(t_vTec* _vTec);
    2930
    3031  void putEpoch(const bncTime& epoTime, std::vector<t_pppSatObs*>& obsVector);
     
    3334    return _satCodeBiases[prn.toInt()];
    3435  }
     36  const t_vTec* vTec() const {return _vTec;}
    3537
    3638  t_epoch* lastEpoch() {
     
    4547 private:
    4648  t_satCodeBias*       _satCodeBiases[t_prn::MAXPRN+1];
     49  t_vTec*              _vTec;
    4750  std::deque<t_epoch*> _epochs;
    4851};
Note: See TracChangeset for help on using the changeset viewer.