Changeset 5810 in ntrip for trunk/BNC/src/PPP/pppEphPool.cpp
- Timestamp:
- Aug 6, 2014, 11:34:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppEphPool.cpp
r5809 r5810 40 40 41 41 #include <iostream> 42 #include " ephpool.h"43 #include "ppp .h"42 #include "pppEphPool.h" 43 #include "pppInclude.h" 44 44 #include "pppClient.h" 45 45 … … 49 49 // 50 50 ///////////////////////////////////////////////////////////////////////////// 51 void t_ ephPool::putEphemeris(t_eph* eph) {51 void t_pppEphPool::putEphemeris(t_eph* eph) { 52 52 if (eph && eph->ok()) { 53 53 _satEphPool[eph->prn().toInt()].putEphemeris(_maxQueueSize, eph); … … 60 60 // 61 61 ///////////////////////////////////////////////////////////////////////////// 62 void t_ ephPool::putOrbCorrection(t_orbCorr* corr) {62 void t_pppEphPool::putOrbCorrection(t_orbCorr* corr) { 63 63 if (corr) { 64 64 _satEphPool[corr->prn().toInt()].putOrbCorrection(corr); … … 68 68 // 69 69 ///////////////////////////////////////////////////////////////////////////// 70 void t_ ephPool::putClkCorrection(t_clkCorr* corr) {70 void t_pppEphPool::putClkCorrection(t_clkCorr* corr) { 71 71 if (corr) { 72 72 _satEphPool[corr->prn().toInt()].putClkCorrection(corr); … … 76 76 // 77 77 ///////////////////////////////////////////////////////////////////////////// 78 t_irc t_ ephPool::getCrd(const t_prn& prn, const bncTime& tt,78 t_irc t_pppEphPool::getCrd(const t_prn& prn, const bncTime& tt, 79 79 ColumnVector& xc, ColumnVector& vv) const { 80 80 return _satEphPool[prn.toInt()].getCrd(tt, xc, vv); … … 83 83 // 84 84 ///////////////////////////////////////////////////////////////////////////// 85 int t_ ephPool::getChannel(const t_prn& prn) const {85 int t_pppEphPool::getChannel(const t_prn& prn) const { 86 86 return _satEphPool[prn.toInt()].getChannel(); 87 87 } … … 89 89 // 90 90 ///////////////////////////////////////////////////////////////////////////// 91 void t_ ephPool::t_satEphPool::putEphemeris(unsigned maxQueueSize, t_eph* eph) {91 void t_pppEphPool::t_satEphPool::putEphemeris(unsigned maxQueueSize, t_eph* eph) { 92 92 if (_ephs.empty() || eph->isNewerThan(_ephs.front())) { 93 93 _ephs.push_front(eph); … … 104 104 // 105 105 ///////////////////////////////////////////////////////////////////////////// 106 void t_ ephPool::t_satEphPool::putOrbCorrection(t_orbCorr* corr) {106 void t_pppEphPool::t_satEphPool::putOrbCorrection(t_orbCorr* corr) { 107 107 for (unsigned ii = 0; ii < _ephs.size(); ii++) { 108 108 t_eph* eph = _ephs[ii]; … … 117 117 // 118 118 ///////////////////////////////////////////////////////////////////////////// 119 void t_ ephPool::t_satEphPool::putClkCorrection(t_clkCorr* corr) {119 void t_pppEphPool::t_satEphPool::putClkCorrection(t_clkCorr* corr) { 120 120 for (unsigned ii = 0; ii < _ephs.size(); ii++) { 121 121 t_eph* eph = _ephs[ii]; … … 129 129 // 130 130 ///////////////////////////////////////////////////////////////////////////// 131 t_irc t_ ephPool::t_satEphPool::getCrd(const bncTime& tt, ColumnVector& xc,131 t_irc t_pppEphPool::t_satEphPool::getCrd(const bncTime& tt, ColumnVector& xc, 132 132 ColumnVector& vv) const { 133 133 for (unsigned ii = 0; ii < _ephs.size(); ii++) { … … 149 149 // 150 150 ///////////////////////////////////////////////////////////////////////////// 151 int t_ ephPool::t_satEphPool::getChannel() const {151 int t_pppEphPool::t_satEphPool::getChannel() const { 152 152 if (_ephs.size() > 0) { 153 153 return _ephs[0]->slotNum();
Note:
See TracChangeset
for help on using the changeset viewer.