Changeset 248 in ntrip for trunk/BNC


Ignore:
Timestamp:
Oct 14, 2006, 10:15:41 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/GPSDecoder.h

    r246 r248  
    22#ifndef GPSDECODER_H
    33#define GPSDECODER_H
    4 
    5 #include <QMutexLocker>
    64
    75#include <list>
     
    4240    virtual ~GPSDecoder() {}
    4341    std::list<Observation*> _obsList;
    44   protected:
    45     QMutex _mutex;
    4642};
    4743
  • trunk/BNC/RTCM/RTCM2.cpp

    r247 r248  
    283283  while (!isHeader() || i<5 ) {
    284284    // 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) {
    286286      W = W_old;
    287287      failure = true;
  • trunk/BNC/RTCM/RTCM2Decoder.cpp

    r246 r248  
    44//
    55//------------------------------------------------------------------------------
    6 
    7 #include <QMutexLocker>
    86
    97#include "../bncutils.h"
     
    3432
    3533void RTCM2Decoder::Decode(char* buffer, int bufLen) {
    36 
    37   QMutexLocker locker(&_mutex);
    3834
    3935  _buffer.append(buffer, bufLen);
  • trunk/BNC/RTCM3/rtcm3.cpp

    r246 r248  
    3131////////////////////////////////////////////////////////////////////////////
    3232rtcm3::rtcm3() : GPSDecoder() {
    33   QMutexLocker locker(&_mutex);
    3433  memset(&_Parser, 0, sizeof(_Parser));
    3534  time_t tim;
     
    4746////////////////////////////////////////////////////////////////////////////
    4847void rtcm3::Decode(char* buffer, int bufLen) {
    49   QMutexLocker locker(&_mutex);
    5048  for (int ii = 0; ii < bufLen; ii++) {
    5149
  • trunk/BNC/RTIGS/rtigs.cpp

    r246 r248  
    3737////////////////////////////////////////////////////////////////////////////
    3838void rtigs::Decode(char* buffer, int bufLen) {
    39 
    40   QMutexLocker locker(&_mutex);
    4139
    4240  // Append the incomming data to the internal buffer
Note: See TracChangeset for help on using the changeset viewer.