- Timestamp:
- Jan 4, 2008, 3:23:10 PM (17 years ago)
- Location:
- trunk/BNC
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/GPSDecoder.h
r626 r649 29 29 #include <QPointer> 30 30 #include <QList> 31 32 #include "bncconst.h" 31 33 32 34 class t_obsInternal { … … 87 89 class GPSDecoder { 88 90 public: 89 virtual voidDecode(char* buffer, int bufLen) = 0;91 virtual t_irc Decode(char* buffer, int bufLen) = 0; 90 92 91 93 virtual ~GPSDecoder() { -
trunk/BNC/RTCM/RTCM2Decoder.cpp
r627 r649 62 62 // 63 63 64 voidRTCM2Decoder::Decode(char* buffer, int bufLen) {64 t_irc RTCM2Decoder::Decode(char* buffer, int bufLen) { 65 65 66 66 _buffer.append(buffer, bufLen); … … 72 72 _PP.getPacket(_buffer); 73 73 if (!_PP.valid()) { 74 return ;74 return failure; 75 75 } 76 76 … … 108 108 } 109 109 } 110 return success; 110 111 } 111 112 -
trunk/BNC/RTCM/RTCM2Decoder.h
r645 r649 34 34 RTCM2Decoder(); 35 35 virtual ~RTCM2Decoder(); 36 virtual voidDecode(char* buffer, int bufLen);36 virtual t_irc Decode(char* buffer, int bufLen); 37 37 38 38 private: -
trunk/BNC/RTCM3/RTCM3Decoder.cpp
r627 r649 88 88 // 89 89 //////////////////////////////////////////////////////////////////////////// 90 voidRTCM3Decoder::Decode(char* buffer, int bufLen) {90 t_irc RTCM3Decoder::Decode(char* buffer, int bufLen) { 91 91 92 92 for (int ii = 0; ii < bufLen; ii++) { … … 198 198 } 199 199 } 200 } 200 return success; 201 } -
trunk/BNC/RTCM3/RTCM3Decoder.h
r645 r649 47 47 RTCM3Decoder(); 48 48 virtual ~RTCM3Decoder(); 49 virtual voidDecode(char* buffer = 0, int bufLen = 0);49 virtual t_irc Decode(char* buffer = 0, int bufLen = 0); 50 50 private: 51 51 struct RTCM3ParserData _Parser; -
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 } -
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; -
trunk/BNC/bnczerodecoder.cpp
r566 r649 82 82 // Decode Method 83 83 //////////////////////////////////////////////////////////////////////// 84 voidbncZeroDecoder::Decode(char* buffer, int bufLen) {84 t_irc bncZeroDecoder::Decode(char* buffer, int bufLen) { 85 85 reopen(); 86 86 _out->write(buffer, bufLen); 87 87 _out->flush(); 88 return success; 88 89 } 89 90 -
trunk/BNC/bnczerodecoder.h
r464 r649 34 34 bncZeroDecoder(const QString& fileName); 35 35 ~bncZeroDecoder(); 36 virtual voidDecode(char* buffer, int bufLen);36 virtual t_irc Decode(char* buffer, int bufLen); 37 37 private: 38 38 void reopen();
Note:
See TracChangeset
for help on using the changeset viewer.