Changeset 880 in ntrip for trunk/BNC/RTCM3/RTCM3Decoder.cpp
- Timestamp:
- May 6, 2008, 5:23:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3Decoder.cpp
r689 r880 44 44 45 45 #include "RTCM3Decoder.h" 46 #include "RTCM3coDecoder.h" 46 47 #include "bncconst.h" 47 48 #include "bncapp.h" … … 69 70 // Constructor 70 71 //////////////////////////////////////////////////////////////////////////// 71 RTCM3Decoder::RTCM3Decoder( ) : GPSDecoder() {72 RTCM3Decoder::RTCM3Decoder(const QString& fileName) : GPSDecoder() { 72 73 73 74 const int LEAPSECONDS = 14; /* only needed for approx. time */ … … 82 83 _Parser.GPSWeek = tim/(7*24*60*60); 83 84 _Parser.GPSTOW = tim%(7*24*60*60); 85 86 // Sub-Decoder for Clock and Orbit Corrections 87 // ------------------------------------------- 88 _coDecoder = new RTCM3coDecoder(fileName); 84 89 } 85 90 … … 87 92 //////////////////////////////////////////////////////////////////////////// 88 93 RTCM3Decoder::~RTCM3Decoder() { 94 delete _coDecoder; 89 95 } 90 96 … … 93 99 t_irc RTCM3Decoder::Decode(char* buffer, int bufLen) { 94 100 101 // Try to decode Clock and Orbit Corrections 102 // ----------------------------------------- 103 _coDecoder->Decode(buffer, bufLen); 104 105 // Remaining part decodes the Observations 106 // --------------------------------------- 95 107 bool decoded = false; 96 108
Note:
See TracChangeset
for help on using the changeset viewer.