Changeset 2710 in ntrip for trunk/BNC/RTCM
- Timestamp:
- Nov 18, 2010, 12:44:38 PM (14 years ago)
- Location:
- trunk/BNC/RTCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/RTCM/GPSDecoder.h ¶
r2709 r2710 114 114 }; 115 115 116 typedef t_obs* p_obs;117 118 116 class GPSDecoder { 119 117 public: … … 121 119 122 120 virtual ~GPSDecoder() { 123 QListIterator< p_obs> it(_obsList);121 QListIterator<t_obs*> it(_obsList); 124 122 while (it.hasNext()) { 125 p_obsobs = it.next();123 t_obs* obs = it.next(); 126 124 if (obs && obs->_status == t_obs::initial) { 127 125 delete obs; … … 151 149 }; 152 150 153 QList< p_obs>_obsList;151 QList<t_obs*> _obsList; 154 152 QList<int> _typeList; // RTCM message types 155 153 QStringList _antType; // RTCM antenna descriptor -
TabularUnified trunk/BNC/RTCM/RTCM2Decoder.cpp ¶
r2709 r2710 140 140 141 141 for (int iSat=0; iSat < _ObsBlock.nSat; iSat++) { 142 p_obsobs = new t_obs();142 t_obs* obs = new t_obs(); 143 143 _obsList.push_back(obs); 144 144 if (_ObsBlock.PRN[iSat] > 100) { … … 314 314 315 315 // new observation 316 p_obsnew_obs = 0;316 t_obs* new_obs = 0; 317 317 318 318 // missing IOD
Note:
See TracChangeset
for help on using the changeset viewer.