Changeset 4000 in ntrip for trunk/BNC/rinex
- Timestamp:
- Apr 22, 2012, 11:31:06 AM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/reqcedit.cpp
r3999 r4000 43 43 #include "bncapp.h" 44 44 #include "bncsettings.h" 45 #include "rnxnavfile.h"46 45 47 46 using namespace std; … … 222 221 void t_reqcEdit::editEphemerides() { 223 222 223 // Read All Ephemerides 224 // -------------------- 224 225 QStringListIterator it(_navFileNames); 225 226 while (it.hasNext()) { 226 227 QString fileName = it.next(); 227 228 t_rnxNavFile rnxNavFile(fileName, t_rnxNavFile::input); 228 } 229 230 } 229 for (unsigned ii = 0; ii < rnxNavFile.ephs().size(); ii++) { 230 t_eph* eph = rnxNavFile.ephs()[ii]; 231 t_ephGPS* ephGPS = dynamic_cast<t_ephGPS*>(eph); 232 t_ephGlo* ephGlo = dynamic_cast<t_ephGlo*>(eph); 233 t_ephGal* ephGal = dynamic_cast<t_ephGal*>(eph); 234 if (ephGPS) { 235 _ephs.append(new t_ephGPS(*ephGPS)); 236 } 237 else if (ephGlo) { 238 _ephs.append(new t_ephGlo(*ephGlo)); 239 } 240 else if (ephGal) { 241 _ephs.append(new t_ephGal(*ephGal)); 242 } 243 } 244 } 245 246 } -
trunk/BNC/rinex/reqcedit.h
r3999 r4000 28 28 #include <QtCore> 29 29 #include "rnxobsfile.h" 30 #include "rnxnavfile.h" 31 #include "RTCM3/ephemeris.h" 30 32 31 33 class t_reqcEdit : public QThread { … … 63 65 bncTime _endTime; 64 66 QMap<QString, QMap<int, int> > _lli; 67 QVector<t_eph*> _ephs; 65 68 }; 66 69 -
trunk/BNC/rinex/rnxnavfile.h
r3999 r4000 57 57 ~t_rnxNavFile(); 58 58 t_eph* getNextEph(const bncTime& tt, const QMap<QString, int>* corrIODs); 59 const std::vector<t_eph*> ephs() const {return _ephs;} 59 60 float version() const {return _header.version();} 60 61 bool glonass() const {return _header.glonass();}
Note:
See TracChangeset
for help on using the changeset viewer.