Changeset 246 in ntrip
- Timestamp:
- Oct 13, 2006, 5:53:42 PM (19 years ago)
- Location:
- trunk/BNC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/GPSDecoder.h
r222 r246 2 2 #ifndef GPSDECODER_H 3 3 #define GPSDECODER_H 4 5 #include <QMutexLocker> 4 6 5 7 #include <list> … … 40 42 virtual ~GPSDecoder() {} 41 43 std::list<Observation*> _obsList; 44 protected: 45 QMutex _mutex; 42 46 }; 43 47 -
trunk/BNC/RTCM/RTCM2.cpp
r245 r246 276 276 277 277 void ThirtyBitWord::getHeader(string& buf) { 278 279 if (buf.length() == 0) return; 278 280 279 281 unsigned int W_old = W; -
trunk/BNC/RTCM/RTCM2Decoder.cpp
r243 r246 4 4 // 5 5 //------------------------------------------------------------------------------ 6 7 #include <QMutexLocker> 6 8 7 9 #include "../bncutils.h" … … 32 34 33 35 void RTCM2Decoder::Decode(char* buffer, int bufLen) { 36 37 QMutexLocker locker(&_mutex); 34 38 35 39 _buffer.append(buffer, bufLen); -
trunk/BNC/RTCM3/rtcm3.cpp
r228 r246 31 31 //////////////////////////////////////////////////////////////////////////// 32 32 rtcm3::rtcm3() : GPSDecoder() { 33 QMutexLocker locker(&_mutex); 33 34 memset(&_Parser, 0, sizeof(_Parser)); 34 35 time_t tim; … … 46 47 //////////////////////////////////////////////////////////////////////////// 47 48 void rtcm3::Decode(char* buffer, int bufLen) { 49 QMutexLocker locker(&_mutex); 48 50 for (int ii = 0; ii < bufLen; ii++) { 49 51 -
trunk/BNC/RTIGS/rtigs.cpp
r234 r246 26 26 // Constructor 27 27 //////////////////////////////////////////////////////////////////////////// 28 rtigs::rtigs() : GPSDecoder(){28 rtigs::rtigs() { 29 29 } 30 30 … … 37 37 //////////////////////////////////////////////////////////////////////////// 38 38 void rtigs::Decode(char* buffer, int bufLen) { 39 40 QMutexLocker locker(&_mutex); 39 41 40 42 // Append the incomming data to the internal buffer
Note:
See TracChangeset
for help on using the changeset viewer.