Changeset 649 in ntrip for trunk/BNC/RTIGS


Ignore:
Timestamp:
Jan 4, 2008, 3:23:10 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTIGS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTIGS/RTIGSDecoder.cpp

    r627 r649  
    5959//
    6060////////////////////////////////////////////////////////////////////////////
    61 void RTIGSDecoder::Decode(char* buffer, int bufLen) {
     61t_irc RTIGSDecoder::Decode(char* buffer, int bufLen) {
    6262
    6363  // Append the incomming data to the internal buffer
     
    8383  if (! found) {
    8484    _buffer.clear();
    85     return;
     85    return failure;
    8686  }
    8787
     
    9494  // ---------------------------
    9595  if (_buffer.size() < numbytes) {
    96     return;
     96    return failure;
    9797  }
    9898
     
    125125  // ----------------------------------
    126126  _buffer = _buffer.substr(numbytes);
     127
     128  return success;
    127129}
  • trunk/BNC/RTIGS/RTIGSDecoder.h

    r645 r649  
    3434  RTIGSDecoder();
    3535  virtual ~RTIGSDecoder();
    36   virtual void Decode(char* buffer = 0, int bufLen = 0);
     36  virtual t_irc Decode(char* buffer = 0, int bufLen = 0);
    3737private:
    3838  CGPS_Transform _GPSTrans;
Note: See TracChangeset for help on using the changeset viewer.