Changeset 3573 in ntrip for branches/BNC_LM
- Timestamp:
- Dec 25, 2011, 7:50:18 PM (13 years ago)
- Location:
- branches/BNC_LM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_LM/RTCM/GPSDecoder.h
r3342 r3573 33 33 34 34 #include "bncconst.h" 35 #include "bncrinex.h" 35 36 36 37 class t_obs { … … 119 120 class GPSDecoder { 120 121 public: 121 virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg) = 0;122 GPSDecoder(); 122 123 123 virtual ~GPSDecoder() {} 124 virtual ~GPSDecoder() {delete _rnx;} 125 126 virtual t_irc Decode(char* buffer, int bufLen, 127 std::vector<std::string>& errmsg) = 0; 128 124 129 125 130 virtual int corrGPSEpochTime() const {return -1;} 131 132 void initRinex(const QByteArray& staID, const QUrl& mountPoint, 133 const QByteArray& latitude, const QByteArray& longitude, 134 const QByteArray& nmea, const QByteArray& ntripVersion); 135 136 void dumpRinexEpoch(const t_obs& obs, const QByteArray& format); 137 138 void setRinexReconnectFlag(bool flag); 126 139 127 140 struct t_antInfo { … … 145 158 146 159 QList<t_obs> _obsList; 147 QList<int> _typeList; // RTCM message types 148 QStringList _antType; // RTCM antenna descriptor 149 QList<t_antInfo> _antList; // RTCM antenna XYZ 160 QList<int> _typeList; // RTCM message types 161 QStringList _antType; // RTCM antenna descriptor 162 QList<t_antInfo> _antList; // RTCM antenna XYZ 163 bncRinex* _rnx; // RINEX writer 150 164 }; 151 165 -
branches/BNC_LM/bnc.pro
r3504 r3573 82 82 upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \ 83 83 upload/bncephuploadcaster.cpp \ 84 RTCM/ RTCM2.cpp RTCM/RTCM2Decoder.cpp\84 RTCM/GPSDecoder.cpp RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \ 85 85 RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \ 86 86 RTCM3/RTCM3Decoder.cpp RTCM3/rtcm3torinex/rtcm3torinex.c \ -
branches/BNC_LM/bncgetthread.cpp
r3572 r3573 317 317 msleep(100); //sleep 0.1 sec 318 318 319 ////_decoder->initRinex(_staID, _mountPoint, _latitude, _longitude,320 ////_nmea, _ntripVersion);319 _decoder->initRinex(_staID, _mountPoint, _latitude, _longitude, 320 _nmea, _ntripVersion); 321 321 322 322 if (_rawFile) { … … 542 542 } 543 543 544 ////decoder()->dumpRinexEpoch(obs, _format);544 decoder()->dumpRinexEpoch(obs, _format); 545 545 546 546 // PPP Client … … 585 585 itDec.next(); 586 586 GPSDecoder* decoder = itDec.value(); 587 ///decoder->setRinexReconnectFlag(false);587 decoder->setRinexReconnectFlag(false); 588 588 } 589 589 } 590 590 else { 591 ///_decoder->setRinexReconnectFlag(false);591 _decoder->setRinexReconnectFlag(false); 592 592 } 593 593 return success; … … 656 656 itDec.next(); 657 657 GPSDecoder* decoder = itDec.value(); 658 ///decoder->setRinexReconnectFlag(false);658 decoder->setRinexReconnectFlag(false); 659 659 } 660 660 } 661 661 else { 662 ///_decoder->setRinexReconnectFlag(false);662 _decoder->setRinexReconnectFlag(false); 663 663 } 664 664
Note:
See TracChangeset
for help on using the changeset viewer.