Changeset 6443 in ntrip for trunk/BNC/src/RTCM
- Timestamp:
- Dec 26, 2014, 12:47:27 PM (10 years ago)
- Location:
- trunk/BNC/src/RTCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM/RTCM2Decoder.cpp
r6442 r6443 55 55 // 56 56 57 RTCM2Decoder::RTCM2Decoder(const std::string& ID) : bncEphUser(true) {57 RTCM2Decoder::RTCM2Decoder(const std::string& ID) : _ephUser(true) { 58 58 _ID = ID; 59 59 } … … 352 352 353 353 // Select corresponding ephemerides 354 if (ephLast(prn) && ephLast(prn)->IOD() == IODcorr) { 355 eph = ephLast(prn); 356 } 357 else if (ephPrev(prn) && ephPrev(prn)->IOD() == IODcorr) { 358 eph = ephPrev(prn); 354 const t_eph* ephLast = _ephUser.ephLast(prn); 355 const t_eph* ephPrev = _ephUser.ephPrev(prn); 356 if (ephLast && ephLast->IOD() == IODcorr) { 357 eph = ephLast; 358 } 359 else if (ephPrev && ephPrev->IOD() == IODcorr) { 360 eph = ephPrev; 359 361 } 360 362 -
trunk/BNC/src/RTCM/RTCM2Decoder.h
r6139 r6443 36 36 #include "bncephuser.h" 37 37 38 class RTCM2Decoder: public bncEphUser, publicGPSDecoder {38 class RTCM2Decoder: public GPSDecoder { 39 39 40 40 public: … … 57 57 void translateCorr2Obs(std::vector<std::string>& errmsg); 58 58 59 std::string_ID;60 61 std::string 62 rtcm2::RTCM2packet 59 QMutex _mutex; 60 std::string _ID; 61 std::string _buffer; 62 rtcm2::RTCM2packet _PP; 63 63 64 64 // for messages 18, 19 decoding 65 rtcm2::RTCM2_Obs 65 rtcm2::RTCM2_Obs _ObsBlock; 66 66 67 67 // for messages 20, 21 decoding 68 rtcm2::RTCM2_03 _msg03; 69 rtcm2::RTCM2_22 _msg22; 70 rtcm2::RTCM2_23 _msg23; 71 rtcm2::RTCM2_24 _msg24; 72 rtcm2::RTCM2_2021 _msg2021; 68 rtcm2::RTCM2_03 _msg03; 69 rtcm2::RTCM2_22 _msg22; 70 rtcm2::RTCM2_23 _msg23; 71 rtcm2::RTCM2_24 _msg24; 72 rtcm2::RTCM2_2021 _msg2021; 73 bncEphUser _ephUser; 73 74 }; 74 75
Note:
See TracChangeset
for help on using the changeset viewer.