Changeset 6086 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 7, 2014, 6:47:31 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP_free
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/bncmodel.cpp
r6065 r6086 46 46 #include "bncmodel.h" 47 47 #include "pppClient.h" 48 #include "bncpppclient.h"49 #include "bnccore.h"50 #include "bncpppclient.h"51 48 #include "bancroft.h" 52 49 #include "bncutils.h" … … 152 149 // Constructor 153 150 //////////////////////////////////////////////////////////////////////////// 154 bncModel::bncModel( bncPPPclient* pppClient) {151 bncModel::bncModel(t_pppClient* pppClient) { 155 152 156 153 _pppClient = pppClient; -
trunk/BNC/src/PPP_free/bncmodel.h
r6060 r6086 37 37 namespace BNC_PPP { 38 38 39 class bncPPPclient;39 class t_pppClient; 40 40 class t_pppOptions; 41 41 class t_epoData; … … 63 63 class bncModel { 64 64 public: 65 bncModel( bncPPPclient* pppClient);65 bncModel(t_pppClient* pppClient); 66 66 ~bncModel(); 67 67 t_irc update(t_epoData* epoData); … … 145 145 }; 146 146 147 bncPPPclient*_pppClient;147 t_pppClient* _pppClient; 148 148 const t_pppOptions* _opt; 149 149 bncTime _time; -
trunk/BNC/src/PPP_free/pppClient.cpp
r6085 r6086 43 43 #include <sstream> 44 44 45 #include " bncpppclient.h"46 #include " bnccore.h"45 #include "pppClient.h" 46 #include "pppOptions.h" 47 47 #include "bncutils.h" 48 48 #include "bncconst.h" 49 49 #include "bncmodel.h" 50 #include "pppOptions.h"51 #include "pppClient.h"52 50 53 51 using namespace BNC_PPP; … … 69 67 70 68 _opt = new t_pppOptions(*opt); 71 _staID = QByteArray(_opt->_roverName.c_str())72 69 _model = new bncModel(this); 73 70 _epoData = new t_epoData(); 71 _staID = QByteArray(_opt->_roverName.c_str()); 74 72 PPP_CLIENT = this; 75 73 } … … 78 76 //////////////////////////////////////////////////////////////////////////// 79 77 t_pppClient::~t_pppClient() { 80 _epoData->clear();81 82 QMapIterator<QString, t_corr*> ic(_corr);83 while (ic.hasNext()) {84 ic.next();85 delete ic.value();86 }87 88 QMapIterator<QString, t_bias*> ib(_bias);89 while (ib.hasNext()) {90 ib.next();91 delete ib.value();92 }93 94 78 delete _model; 95 79 delete _epoData; … … 246 230 // 247 231 ////////////////////////////////////////////////////////////////////////////// 232 void t_pppClient::putBiases(const std::vector<t_satBias*>& /* satBias */) { 233 } 234 235 // 236 ////////////////////////////////////////////////////////////////////////////// 248 237 void t_pppClient::putEphemeris(const t_eph* eph) { 249 238 const t_ephGPS* ephGPS = dynamic_cast<const t_ephGPS*>(eph);
Note:
See TracChangeset
for help on using the changeset viewer.