Changeset 7231 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Aug 18, 2015, 4:13:05 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r7218 r7231 332 332 } 333 333 334 // 335 ////////////////////////////////////////////////////////////////////////////// 336 void t_pppClient::putTec(const t_vTec* vTec) { 337 _pppUtils->putTec(new t_vTec(*vTec)); 338 } 339 334 340 // 335 341 ////////////////////////////////////////////////////////////////////////////// -
trunk/BNC/src/PPP/pppClient.h
r7224 r7231 44 44 ~t_pppClient(); 45 45 void processEpoch(const std::vector<t_satObs*>& satObs, t_output* output); 46 void putEphemeris(const t_eph* eph); 46 void putEphemeris(const t_eph* eph); 47 void putTec(const t_vTec* vTec); 47 48 void putOrbCorrections(const std::vector<t_orbCorr*>& corr); 48 49 void putClkCorrections(const std::vector<t_clkCorr*>& corr); -
trunk/BNC/src/PPP/pppUtils.cpp
r7218 r7231 19 19 #include "pppModel.h" 20 20 21 #include <iostream> // std::cout, std::ios 22 #include <sstream> // std::ostringstream 23 21 24 using namespace BNC_PPP; 22 25 using namespace std; … … 30 33 _satCodeBiases[ii] = 0; 31 34 } 35 _vTec = 0; 32 36 } 33 37 … … 38 42 delete _satCodeBiases[ii]; 39 43 } 44 delete _vTec; 40 45 } 41 46 … … 47 52 _satCodeBiases[iPrn] = satCodeBias; 48 53 } 54 55 // 56 ////////////////////////////////////////////////////////////////////////////// 57 void t_pppUtils::putTec(t_vTec* vTec) { 58 delete _vTec; 59 _vTec = vTec; 60 } -
trunk/BNC/src/PPP/pppUtils.h
r7218 r7231 16 16 return _satCodeBiases[prn.toInt()]; 17 17 } 18 void putTec(t_vTec* vTec); 19 const t_vTec* vTec() const { 20 return _vTec; 21 } 18 22 19 23 private: 20 24 t_satCodeBias* _satCodeBiases[t_prn::MAXPRN+1]; 21 25 t_vTec* _vTec; 22 26 }; 23 27
Note:
See TracChangeset
for help on using the changeset viewer.