Changeset 6093 in ntrip for trunk/BNC/src/PPP_free/pppFilter.h


Ignore:
Timestamp:
Sep 7, 2014, 7:18:16 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP_free/pppFilter.h

    r6091 r6093  
    2323// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    2424
    25 #ifndef BNCMODEL_H
    26 #define BNCMODEL_H
     25#ifndef PPPFILTER_H
     26#define PPPFILTER_H
    2727
    2828#include <QtCore>
     
    4343class t_tides;
    4444
    45 class bncParam {
     45class t_pppParam {
    4646 public:
    4747  enum parType {CRD_X, CRD_Y, CRD_Z, RECCLK, TROPO, AMB_L3,
    4848                GLONASS_OFFSET, GALILEO_OFFSET};
    49   bncParam(parType typeIn, int indexIn, const QString& prn);
    50   ~bncParam();
     49  t_pppParam(parType typeIn, int indexIn, const QString& prn);
     50  ~t_pppParam();
    5151  double partial(t_satData* satData, bool phase);
    5252  bool isCrd() const {
     
    6161};
    6262
    63 class bncModel {
     63class t_pppFilter {
    6464 public:
    65   bncModel(t_pppClient* pppClient);
    66   ~bncModel();
     65  t_pppFilter(t_pppClient* pppClient);
     66  ~t_pppFilter();
    6767  t_irc update(t_epoData* epoData);
    6868  bncTime time()  const {return _time;}
     
    7373  double trp() const {
    7474    for (int ii = 0; ii < _params.size(); ++ii) {
    75       bncParam* pp = _params[ii];
    76       if (pp->type == bncParam::TROPO) {
     75      t_pppParam* pp = _params[ii];
     76      if (pp->type == t_pppParam::TROPO) {
    7777        return pp->xx;
    7878      }
     
    8282  double Glonass_offset() const {
    8383    for (int ii = 0; ii < _params.size(); ++ii) {
    84       bncParam* pp = _params[ii];
    85       if (pp->type == bncParam::GLONASS_OFFSET) {
     84      t_pppParam* pp = _params[ii];
     85      if (pp->type == t_pppParam::GLONASS_OFFSET) {
    8686        return pp->xx;
    8787      }
     
    9191  double Galileo_offset() const {
    9292    for (int ii = 0; ii < _params.size(); ++ii) {
    93       bncParam* pp = _params[ii];
    94       if (pp->type == bncParam::GALILEO_OFFSET) {
     93      t_pppParam* pp = _params[ii];
     94      if (pp->type == t_pppParam::GALILEO_OFFSET) {
    9595        return pp->xx;
    9696      }
     
    152152  bncTime               _lastTimeOK;
    153153  QByteArray            _staID;
    154   QVector<bncParam*>    _params;
     154  QVector<t_pppParam*>  _params;
    155155  SymmetricMatrix       _QQ;
    156   QVector<bncParam*>    _params_sav;
     156  QVector<t_pppParam*>  _params_sav;
    157157  SymmetricMatrix       _QQ_sav;
    158158  t_epoData*            _epoData_sav;
Note: See TracChangeset for help on using the changeset viewer.