Changeset 248 in ntrip for trunk/BNC/RTCM
- Timestamp:
- Oct 14, 2006, 10:15:41 AM (18 years ago)
- Location:
- trunk/BNC/RTCM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/GPSDecoder.h
r246 r248 2 2 #ifndef GPSDECODER_H 3 3 #define GPSDECODER_H 4 5 #include <QMutexLocker>6 4 7 5 #include <list> … … 42 40 virtual ~GPSDecoder() {} 43 41 std::list<Observation*> _obsList; 44 protected:45 QMutex _mutex;46 42 }; 47 43 -
trunk/BNC/RTCM/RTCM2.cpp
r247 r248 283 283 while (!isHeader() || i<5 ) { 284 284 // Check if string is long enough; if not restore old word and exit 285 if (buf.size() == 0 || buf.size()-1<i) {285 if (buf.size()<i+1) { 286 286 W = W_old; 287 287 failure = true; -
trunk/BNC/RTCM/RTCM2Decoder.cpp
r246 r248 4 4 // 5 5 //------------------------------------------------------------------------------ 6 7 #include <QMutexLocker>8 6 9 7 #include "../bncutils.h" … … 34 32 35 33 void RTCM2Decoder::Decode(char* buffer, int bufLen) { 36 37 QMutexLocker locker(&_mutex);38 34 39 35 _buffer.append(buffer, bufLen);
Note:
See TracChangeset
for help on using the changeset viewer.