Changeset 10034 in ntrip for trunk/BNC/src/PPP/pppRefSat.h
- Timestamp:
- Apr 21, 2023, 11:48:24 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppRefSat.h
r9507 r10034 9 9 #define PPPREFSAT_H_ 10 10 11 #include <vector> 11 12 #include "t_prn.h" 12 13 … … 32 33 double _stecValue; 33 34 }; 35 36 class t_refSatellites { 37 public: 38 t_refSatellites(std::vector<char> systems) { 39 for (unsigned iSys = 0; iSys < systems.size(); iSys++) { 40 char sys = systems[iSys]; 41 _refSatMap[sys] = new t_pppRefSat(); 42 } 43 } 44 ~t_refSatellites() { 45 QMapIterator<char, t_pppRefSat*> it(_refSatMap); 46 while (it.hasNext()) { 47 it.next(); 48 delete it.value(); 49 } 50 _refSatMap.clear(); 51 } 52 const QMap<char, t_pppRefSat*>& refSatMap() const {return _refSatMap;} 53 54 private: 55 QMap<char, t_pppRefSat*> _refSatMap; 56 57 }; 58 59 34 60 } 35 61
Note:
See TracChangeset
for help on using the changeset viewer.