Changeset 6600 in ntrip
- Timestamp:
- Feb 20, 2015, 9:23:22 AM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/ephEncoder.cpp
r6550 r6600 326 326 } 327 327 328 int t_ephEncoder::RTCM3(const t_eph Compass& /* eph */, unsigned char* /* buffer */) {328 int t_ephEncoder::RTCM3(const t_ephBDS& /* eph */, unsigned char* /* buffer */) { 329 329 330 330 return 0; -
trunk/BNC/src/RTCM3/ephEncoder.h
r6403 r6600 6 6 class t_ephEncoder { 7 7 public: 8 static int RTCM3(const t_ephGPS& 9 static int RTCM3(const t_ephGlo& 10 static int RTCM3(const t_ephGal& 11 static int RTCM3(const t_ephSBAS& 12 static int RTCM3(const t_eph Compass&eph, unsigned char *);8 static int RTCM3(const t_ephGPS& eph, unsigned char *); 9 static int RTCM3(const t_ephGlo& eph, unsigned char *); 10 static int RTCM3(const t_ephGal& eph, unsigned char *); 11 static int RTCM3(const t_ephSBAS& eph, unsigned char *); 12 static int RTCM3(const t_ephBDS& eph, unsigned char *); 13 13 }; 14 14 -
trunk/BNC/src/ephemeris.cpp
r6556 r6600 1325 1325 // Constructor 1326 1326 ////////////////////////////////////////////////////////////////////////////// 1327 t_eph Compass::t_ephCompass(float rnxVersion, const QStringList& lines) {1327 t_ephBDS::t_ephBDS(float rnxVersion, const QStringList& lines) { 1328 1328 1329 1329 const int nLines = 8; … … 1475 1475 // Constructor 1476 1476 ////////////////////////////////////////////////////////////////////////////// 1477 t_irc t_eph Compass::position(int GPSweek, double GPSweeks, double* xc, double* vv) const {1477 t_irc t_ephBDS::position(int GPSweek, double GPSweeks, double* xc, double* vv) const { 1478 1478 1479 1479 if (_checkState == bad) { … … 1605 1605 // RINEX Format String 1606 1606 ////////////////////////////////////////////////////////////////////////////// 1607 QString t_eph Compass::toString(double version) const {1607 QString t_ephBDS::toString(double version) const { 1608 1608 1609 1609 QString rnxStr = rinexDateStr(_TOC_bdt, _prn, version); -
trunk/BNC/src/ephemeris.h
r6536 r6600 239 239 }; 240 240 241 class t_eph Compass: public t_eph {242 friend class t_ephEncoder; 243 public: 244 t_ephCompass() {}245 t_ephCompass(float rnxVersion, const QStringList& lines);246 virtual ~t_eph Compass() {}247 248 // void set(const compassephemeris* ee);241 class t_ephBDS : public t_eph { 242 friend class t_ephEncoder; 243 public: 244 t_ephBDS() {} 245 t_ephBDS(float rnxVersion, const QStringList& lines); 246 virtual ~t_ephBDS() {} 247 248 void set(const bdsephemeris* ee); 249 249 virtual e_type type() const {return t_eph::Compass;} 250 250 virtual int IOD() const {return _AODC;} -
trunk/BNC/src/rinex/reqcedit.cpp
r6537 r6600 522 522 } 523 523 else if (eph->type() == t_eph::Compass) { 524 ephs.append(new t_eph Compass(*dynamic_cast<t_ephCompass*>(eph)));525 } 526 } 527 } 528 } 524 ephs.append(new t_ephBDS(*dynamic_cast<t_ephBDS*>(eph))); 525 } 526 } 527 } 528 } -
trunk/BNC/src/rinex/rnxnavfile.cpp
r6518 r6600 198 198 lines << stream->readLine(); 199 199 } 200 eph = new t_eph Compass(version(), lines);200 eph = new t_ephBDS(version(), lines); 201 201 } 202 202 if (eph && eph->checkState() != t_eph::bad) { -
trunk/BNC/src/upload/bncephuploadcaster.cpp
r6443 r6600 66 66 const t_eph* eph = ephLast(it.next()); 67 67 68 const t_ephGPS* ephGPS= dynamic_cast<const t_ephGPS*>(eph);69 const t_ephGlo* ephGlo= dynamic_cast<const t_ephGlo*>(eph);70 const t_ephGal* ephGal= dynamic_cast<const t_ephGal*>(eph);71 const t_ephSBAS* ephSBAS= dynamic_cast<const t_ephSBAS*>(eph);72 const t_eph Compass* ephCompass = dynamic_cast<const t_ephCompass*>(eph);68 const t_ephGPS* ephGPS = dynamic_cast<const t_ephGPS*>(eph); 69 const t_ephGlo* ephGlo = dynamic_cast<const t_ephGlo*>(eph); 70 const t_ephGal* ephGal = dynamic_cast<const t_ephGal*>(eph); 71 const t_ephSBAS* ephSBAS = dynamic_cast<const t_ephSBAS*>(eph); 72 const t_ephBDS* ephBDS = dynamic_cast<const t_ephBDS*>(eph); 73 73 74 74 unsigned char Array[80]; … … 87 87 size = t_ephEncoder::RTCM3(*ephSBAS, Array); 88 88 } 89 else if (eph Compass) {90 size = t_ephEncoder::RTCM3(*eph Compass, Array);89 else if (ephBDS) { 90 size = t_ephEncoder::RTCM3(*ephBDS, Array); 91 91 } 92 92 if (size > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.