Changeset 621 in ntrip for trunk/BNC/RTCM
- Timestamp:
- Dec 16, 2007, 3:44:57 PM (17 years ago)
- Location:
- trunk/BNC/RTCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/GPSDecoder.h
r464 r621 26 26 #define GPSDECODER_H 27 27 28 #include <list> 28 #include <QPointer> 29 #include <QList> 29 30 30 class Observation {31 class Observation : public QObject{ 31 32 public: 32 33 Observation() { … … 68 69 }; 69 70 71 typedef QPointer<Observation> p_obs; 72 70 73 class GPSDecoder { 71 74 public: 72 75 virtual void Decode(char* buffer, int bufLen) = 0; 73 76 virtual ~GPSDecoder() {} 74 std::list<Observation*> _obsList;77 QList<p_obs> _obsList; 75 78 }; 76 79 -
trunk/BNC/RTCM/RTCM2Decoder.cpp
r464 r621 58 58 59 59 RTCM2Decoder::~RTCM2Decoder() { 60 60 QListIterator<p_obs> it(_obsList); 61 while (it.hasNext()) { 62 delete it.next(); 63 } 64 _obsList.clear(); 61 65 } 62 66
Note:
See TracChangeset
for help on using the changeset viewer.