Changeset 5779 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Aug 4, 2014, 1:46:47 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r5778 r5779 128 128 // 129 129 ////////////////////////////////////////////////////////////////////////////// 130 void t_pppClient::putOrbCorrections(const vector<t_orbCorr >& corr) {130 void t_pppClient::putOrbCorrections(const vector<t_orbCorr*>& corr) { 131 131 for (unsigned ii = 0; ii < corr.size(); ii++) { 132 _ephPool->putOrbCorrection(new t_orbCorr( corr[ii]));132 _ephPool->putOrbCorrection(new t_orbCorr(*corr[ii])); 133 133 } 134 134 LOG << OPT->_roverName << " putOrbCorrections " << corr.size() << endl; … … 137 137 // 138 138 ////////////////////////////////////////////////////////////////////////////// 139 void t_pppClient::putClkCorrections(const vector<t_clkCorr >& corr) {139 void t_pppClient::putClkCorrections(const vector<t_clkCorr*>& corr) { 140 140 for (unsigned ii = 0; ii < corr.size(); ii++) { 141 _ephPool->putClkCorrection(new t_clkCorr( corr[ii]));141 _ephPool->putClkCorrection(new t_clkCorr(*corr[ii])); 142 142 } 143 143 LOG << OPT->_roverName << " putClkCorrections " << corr.size() << endl; … … 146 146 // 147 147 ////////////////////////////////////////////////////////////////////////////// 148 void t_pppClient::putBiases(const vector<t_satBiases >& biases) {148 void t_pppClient::putBiases(const vector<t_satBiases*>& biases) { 149 149 for (unsigned ii = 0; ii < biases.size(); ii++) { 150 _obsPool->putBiases(new t_satBias( biases[ii]));150 _obsPool->putBiases(new t_satBias(*biases[ii])); 151 151 } 152 152 LOG << OPT->_roverName << " putBiases " << biases.size() << endl; -
trunk/BNC/src/PPP/pppClient.h
r5778 r5779 24 24 25 25 void putEphemeris(const t_eph* eph); 26 void putOrbCorrections(const std::vector<t_orbCorr >& corr);27 void putClkCorrections(const std::vector<t_clkCorr >& corr);28 void putBiases(const std::vector<t_satBiases >& biases);26 void putOrbCorrections(const std::vector<t_orbCorr*>& corr); 27 void putClkCorrections(const std::vector<t_clkCorr*>& corr); 28 void putBiases(const std::vector<t_satBiases*>& biases); 29 29 void processEpoch(const std::vector<t_pppSatObs*>& pppSatObs, t_output* output); 30 30 -
trunk/BNC/src/PPP/pppThread.cpp
r5778 r5779 154 154 } 155 155 156 // _pppClient->putOrbCorrections(const std::vector<t_orbCorr >& corr);157 // _pppClient->putClkCorrections(const std::vector<t_clkCorr >& corr);158 // _pppClient->putBiases(const std::vector<t_satBiases >& biases);156 // _pppClient->putOrbCorrections(const std::vector<t_orbCorr*>& corr); 157 // _pppClient->putClkCorrections(const std::vector<t_clkCorr*>& corr); 158 // _pppClient->putBiases(const std::vector<t_satBiases*>& biases); 159 159 } 160 160 // … … 176 176 _pppClient->processEpoch(satObs, &output); 177 177 178 for (unsigned ii = 0; ii < satObs.size(); ii++) { 179 delete satObs[ii]; 180 } 181 satObs.clear(); 182 178 183 emit newMessage(QByteArray(output._log.c_str()), true); 179 184 }
Note:
See TracChangeset
for help on using the changeset viewer.