Changeset 8905 in ntrip for trunk/BNC/src/PPP/pppObsPool.cpp
- Timestamp:
- Mar 18, 2020, 11:13:50 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppObsPool.cpp
r7643 r8905 22 22 // Constructor 23 23 ///////////////////////////////////////////////////////////////////////////// 24 t_pppObsPool::t_epoch::t_epoch(const bncTime& epoTime, vector<t_pppSatObs*>& obsVector) { 25 _epoTime = epoTime; 24 t_pppObsPool::t_epoch::t_epoch(const bncTime& epoTime, vector<t_pppSatObs*>& obsVector, 25 bool pseudoObsIono) { 26 _epoTime = epoTime; 27 _pseudoObsIono = pseudoObsIono; 26 28 for (unsigned ii = 0; ii < obsVector.size(); ii++) { 27 29 _obsVector.push_back(obsVector[ii]); … … 48 50 } 49 51 _vTec = 0; 52 _epoReProcessing = false; 50 53 } 51 54 … … 64 67 _epochs.pop_front(); 65 68 } 69 clearRefSatMap(); 66 70 } 67 71 … … 92 96 // 93 97 ///////////////////////////////////////////////////////////////////////////// 94 void t_pppObsPool::putEpoch(const bncTime& epoTime, vector<t_pppSatObs*>& obsVector) { 98 void t_pppObsPool::putEpoch(const bncTime& epoTime, vector<t_pppSatObs*>& obsVector, 99 bool pseudoObsIono) { 95 100 const unsigned MAXSIZE = 2; 96 _epochs.push_back(new t_epoch(epoTime, obsVector)); 101 102 if (epoReProcessing()) { 103 delete _epochs.back(); 104 _epochs.pop_back(); 105 } 106 _epochs.push_back(new t_epoch(epoTime, obsVector,pseudoObsIono)); 97 107 if (_epochs.size() > MAXSIZE) { 98 108 delete _epochs.front();
Note:
See TracChangeset
for help on using the changeset viewer.