- Timestamp:
- Aug 6, 2014, 12:28:26 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r5814 r5818 144 144 void t_pppClient::putBiases(const vector<t_satBiases*>& biases) { 145 145 for (unsigned ii = 0; ii < biases.size(); ii++) { 146 _obsPool->putBiases(new t_ satBias(*biases[ii]));146 _obsPool->putBiases(new t_pppSatBias(*biases[ii])); 147 147 } 148 148 } -
trunk/BNC/src/PPP/pppObsPool.cpp
r5814 r5818 84 84 // 85 85 ///////////////////////////////////////////////////////////////////////////// 86 void t_pppObsPool::putBiases(t_ satBias* satBias) {86 void t_pppObsPool::putBiases(t_pppSatBias* satBias) { 87 87 int iPrn = satBias->prn().toInt(); 88 88 delete _satBiases[iPrn]; -
trunk/BNC/src/PPP/pppObsPool.h
r5814 r5818 27 27 t_pppObsPool(); 28 28 ~t_pppObsPool(); 29 void putBiases(t_ satBias* satBias);29 void putBiases(t_pppSatBias* satBias); 30 30 31 31 void putEpoch(const bncTime& epoTime, std::vector<t_satObs*>& obsVector); 32 32 33 const t_ satBias* satBias(const t_prn& prn) const {33 const t_pppSatBias* satBias(const t_prn& prn) const { 34 34 return _satBiases[prn.toInt()]; 35 35 } … … 44 44 45 45 private: 46 t_ satBias*_satBiases[t_prn::MAXPRN+1];46 t_pppSatBias* _satBiases[t_prn::MAXPRN+1]; 47 47 std::deque<t_epoch*> _epochs; 48 48 }; -
trunk/BNC/src/PPP/pppSatBias.cpp
r5814 r5818 27 27 * ------------------------------------------------------------------------- 28 28 * 29 * Class: t_ppp Main29 * Class: t_pppSatBias 30 30 * 31 31 * Purpose: Satellite-specific biases … … 46 46 // Constructor 47 47 //////////////////////////////////////////////////////////////////////////// 48 t_ satBias::t_satBias(const t_satBiases& satBiases) {48 t_pppSatBias::t_pppSatBias(const t_satBiases& satBiases) { 49 49 _prn = satBiases._prn; 50 50 _time = satBiases._time; … … 52 52 _jumpCount = satBiases._jumpCount; 53 53 for (unsigned ii = 0; ii < satBiases._biases.size(); ii++) { 54 const t_bias& bias = satBiases._biases[ii];55 t_biasType biasType 56 _biases[biasType] 54 const t_bias& bias = satBiases._biases[ii]; 55 t_biasType biasType = string(bias._rnxType3ch).substr(0,3); 56 _biases[biasType] = bias._value; 57 57 } 58 58 } -
trunk/BNC/src/PPP/pppSatBias.h
r5814 r5818 10 10 typedef std::string t_biasType; 11 11 12 class t_ satBias {12 class t_pppSatBias { 13 13 public: 14 t_ satBias(const t_satBiases& satBiases);15 ~t_ satBias() {}14 t_pppSatBias(const t_satBiases& satBiases); 15 ~t_pppSatBias() {} 16 16 const t_prn& prn() const {return _prn;} 17 17 const std::map<t_biasType, double>& biases() const {return _biases;} -
trunk/BNC/src/PPP/satobs.cpp
r5814 r5818 245 245 bool biasL1flg = false; 246 246 bool biasL2flg = false; 247 const t_ satBias* satBias = PPP_CLIENT->obsPool()->satBias(_prn);247 const t_pppSatBias* satBias = PPP_CLIENT->obsPool()->satBias(_prn); 248 248 if (satBias) { 249 249 map<t_biasType, double>::const_iterator it;
Note:
See TracChangeset
for help on using the changeset viewer.