Changeset 6093 in ntrip for trunk/BNC/src/PPP_free/pppClient.cpp
- Timestamp:
- Sep 7, 2014, 7:18:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/pppClient.cpp
r6088 r6093 44 44 45 45 #include "pppClient.h" 46 #include "pppFilter.h" 46 47 #include "pppOptions.h" 47 48 #include "bncutils.h" 48 49 #include "bncconst.h" 49 #include "bncmodel.h"50 50 51 51 using namespace BNC_PPP; … … 66 66 t_pppClient::t_pppClient(const t_pppOptions* opt) : bncEphUser(false) { 67 67 68 _opt 69 _ model = new bncModel(this);70 _epoData 71 _log 72 _staID 68 _opt = new t_pppOptions(*opt); 69 _filter = new t_pppFilter(this); 70 _epoData = new t_epoData(); 71 _log = new ostringstream(); 72 _staID = QByteArray(_opt->_roverName.c_str()); 73 73 74 74 CLIENTS.setLocalData(this); // CLIENTS takes ownership over "this" … … 78 78 //////////////////////////////////////////////////////////////////////////// 79 79 t_pppClient::~t_pppClient() { 80 delete _ model;80 delete _filter; 81 81 delete _epoData; 82 82 delete _opt; … … 147 147 // Filter Solution 148 148 // --------------- 149 if (_ model->update(_epoData) == success) {149 if (_filter->update(_epoData) == success) { 150 150 output->_error = false; 151 output->_epoTime = _ model->time();152 output->_xyzRover[0] = _ model->x();153 output->_xyzRover[1] = _ model->y();154 output->_xyzRover[2] = _ model->z();151 output->_epoTime = _filter->time(); 152 output->_xyzRover[0] = _filter->x(); 153 output->_xyzRover[1] = _filter->y(); 154 output->_xyzRover[2] = _filter->z(); 155 155 output->_numSat = 0; 156 156 output->_pDop = 0.0;
Note:
See TracChangeset
for help on using the changeset viewer.