Changeset 2387 in ntrip for trunk/BNC/RTCM3/RTCM3Decoder.cpp
- Timestamp:
- Mar 26, 2010, 11:55:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3Decoder.cpp
r2386 r2387 65 65 // Constructor 66 66 //////////////////////////////////////////////////////////////////////////// 67 RTCM3Decoder::RTCM3Decoder(const QString& staID) : GPSDecoder() { 67 RTCM3Decoder::RTCM3Decoder(const QString& staID, bool inputFromFile) : 68 GPSDecoder() { 69 70 _staID = staID; 71 _inputFromFile = inputFromFile; 68 72 69 73 bncSettings settings; 70 74 _checkMountPoint = settings.value("miscMount").toString(); 71 _staID = staID;72 75 73 76 // Ensure, that the Decoder uses the "old" convention for the data structure for Rinex2. Perlt … … 118 121 if ( _coDecoder->Decode(buffer, bufLen, errmsg) == success ) { 119 122 decoded = true; 120 if ( _mode == unknown) {121 /////_mode = corrections;123 if (!_inputFromFile && _mode == unknown) { 124 _mode = corrections; 122 125 } 123 126 } … … 340 343 } 341 344 } 342 if ( _mode == unknown && decoded) {343 ////_mode = observations;345 if (!_inputFromFile && _mode == unknown && decoded) { 346 _mode = observations; 344 347 } 345 348 }
Note:
See TracChangeset
for help on using the changeset viewer.