Changeset 649 in ntrip for trunk/BNC/RTIGS
- Timestamp:
- Jan 4, 2008, 3:23:10 PM (17 years ago)
- Location:
- trunk/BNC/RTIGS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/RTIGS/RTIGSDecoder.cpp ¶
r627 r649 59 59 // 60 60 //////////////////////////////////////////////////////////////////////////// 61 voidRTIGSDecoder::Decode(char* buffer, int bufLen) {61 t_irc RTIGSDecoder::Decode(char* buffer, int bufLen) { 62 62 63 63 // Append the incomming data to the internal buffer … … 83 83 if (! found) { 84 84 _buffer.clear(); 85 return; 85 return failure; 86 86 } 87 87 … … 94 94 // --------------------------- 95 95 if (_buffer.size() < numbytes) { 96 return; 96 return failure; 97 97 } 98 98 … … 125 125 // ---------------------------------- 126 126 _buffer = _buffer.substr(numbytes); 127 128 return success; 127 129 } -
TabularUnified trunk/BNC/RTIGS/RTIGSDecoder.h ¶
r645 r649 34 34 RTIGSDecoder(); 35 35 virtual ~RTIGSDecoder(); 36 virtual voidDecode(char* buffer = 0, int bufLen = 0);36 virtual t_irc Decode(char* buffer = 0, int bufLen = 0); 37 37 private: 38 38 CGPS_Transform _GPSTrans;
Note:
See TracChangeset
for help on using the changeset viewer.