Changeset 2905 in ntrip for trunk/BNC/bncpppclient.h


Ignore:
Timestamp:
Jan 27, 2011, 1:57:40 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.h

    r2809 r2905  
    2727
    2828#include <queue>
    29 #include <QtNetwork>
    30 
    31 #include <newmat.h>
    32 
    33 #include "bncconst.h"
    34 #include "bnctime.h"
     29#include "bncephuser.h"
    3530#include "RTCM/GPSDecoder.h"
    36 #include "RTCM3/ephemeris.h"
    3731
    3832class bncModel;
     
    9993};
    10094
    101 class t_corr {
    102  public:
    103   t_corr() {
    104     raoSet  = false;
    105     dClkSet = false;
    106   }
    107   bool ready() {return raoSet && dClkSet;}
    108   bncTime       tt;
    109   int          iod;
    110   double       dClk;
    111   double       dotDClk;
    112   double       dotDotDClk;
    113   ColumnVector rao;
    114   ColumnVector dotRao;
    115   ColumnVector dotDotRao;
    116   bool         raoSet;
    117   bool         dClkSet;
    118 };
    119 
    12095class t_bias {
    12196 public:
     
    131106};
    132107
    133 class bncPPPclient : public QObject {
     108class bncPPPclient : public bncEphUser {
    134109 Q_OBJECT
    135110
     
    140115
    141116 public slots:
    142   void slotNewEphGPS(gpsephemeris gpseph);
    143   void slotNewEphGlonass(glonassephemeris gloeph);
    144   void slotNewEphGalileo(galileoephemeris galeph);
    145117  void slotNewCorrections(QList<QString> corrList);
    146118
     
    164136  };
    165137
    166   class t_ephPair {
    167    public:
    168     t_ephPair() {
    169       last = 0;
    170       prev = 0;
    171     }
    172     ~t_ephPair() {
    173       delete last;
    174       delete prev;
    175     }
    176     t_eph* last;
    177     t_eph* prev;
    178   };
    179 
    180138  t_irc getSatPos(const bncTime& tt, const QString& prn,
    181139                  ColumnVector& xc, ColumnVector& vv);
     
    187145
    188146  QByteArray              _staID;
    189   QMutex                  _mutex;
    190   QMap<QString, t_ephPair*> _eph;
    191147  QMap<QString, t_corr*>  _corr;
    192148  bncTime                 _corr_tt;
Note: See TracChangeset for help on using the changeset viewer.