Changeset 621 in ntrip for trunk/BNC/RTCM


Ignore:
Timestamp:
Dec 16, 2007, 3:44:57 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/GPSDecoder.h

    r464 r621  
    2626#define GPSDECODER_H
    2727
    28 #include <list>
     28#include <QPointer>
     29#include <QList>
    2930
    30 class Observation {
     31class Observation : public QObject{
    3132  public:
    3233  Observation() {
     
    6869};
    6970
     71typedef QPointer<Observation> p_obs;
     72
    7073class GPSDecoder {
    7174  public:
    7275    virtual void Decode(char* buffer, int bufLen) = 0;
    7376    virtual ~GPSDecoder() {}
    74     std::list<Observation*> _obsList;
     77    QList<p_obs> _obsList;
    7578};
    7679
  • trunk/BNC/RTCM/RTCM2Decoder.cpp

    r464 r621  
    5858
    5959RTCM2Decoder::~RTCM2Decoder() {
    60 
     60  QListIterator<p_obs> it(_obsList);
     61  while (it.hasNext()) {
     62    delete it.next();
     63  }
     64  _obsList.clear();
    6165}
    6266
Note: See TracChangeset for help on using the changeset viewer.