Changeset 7249 in ntrip for trunk/BNC/src
- Timestamp:
- Aug 24, 2015, 3:47:51 PM (9 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppObsPool.cpp
r7237 r7249 44 44 _satCodeBiases[ii] = 0; 45 45 } 46 _vTec = 0; 46 47 } 47 48 … … 52 53 delete _satCodeBiases[ii]; 53 54 } 55 delete _vTec; 54 56 while (_epochs.size() > 0) { 55 57 delete _epochs.front(); … … 68 70 // 69 71 ///////////////////////////////////////////////////////////////////////////// 72 void t_pppObsPool::putTec(t_vTec* vTec) { 73 delete _vTec; 74 _vTec = new t_vTec(*vTec); 75 } 76 77 // 78 ///////////////////////////////////////////////////////////////////////////// 70 79 void t_pppObsPool::putEpoch(const bncTime& epoTime, vector<t_pppSatObs*>& obsVector) { 71 80 const unsigned MAXSIZE = 2; -
trunk/BNC/src/PPP/pppObsPool.h
r7237 r7249 27 27 ~t_pppObsPool(); 28 28 void putCodeBias(t_satCodeBias* satCodeBias); 29 void putTec(t_vTec* _vTec); 29 30 30 31 void putEpoch(const bncTime& epoTime, std::vector<t_pppSatObs*>& obsVector); … … 33 34 return _satCodeBiases[prn.toInt()]; 34 35 } 36 const t_vTec* vTec() const {return _vTec;} 35 37 36 38 t_epoch* lastEpoch() { … … 45 47 private: 46 48 t_satCodeBias* _satCodeBiases[t_prn::MAXPRN+1]; 49 t_vTec* _vTec; 47 50 std::deque<t_epoch*> _epochs; 48 51 };
Note:
See TracChangeset
for help on using the changeset viewer.