Changeset 7625 in ntrip for trunk/BNC


Ignore:
Timestamp:
Dec 9, 2015, 5:23:34 PM (8 years ago)
Author:
stuerze
Message:

some value initialization in constructor is added

Location:
trunk/BNC/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncantex.h

    r7521 r7625  
    4848  class t_frqMap {
    4949   public:
     50    t_frqMap() {
     51      for (unsigned ii = 0; ii < 3; ii++) {
     52        neu[ii] = 0.0;
     53      }
     54    }
    5055    double       neu[3];
    5156    ColumnVector pattern;
     
    5459  class t_antMap {
    5560   public:
    56     t_antMap() {}
     61    t_antMap() {
     62      zen1 = 0.0;
     63      zen2 = 0.0;
     64      dZen = 0.0;
     65    }
    5766    ~t_antMap() {
    5867      QMapIterator<t_frequency::type, t_frqMap*> it(frqMap);
  • trunk/BNC/src/ephemeris.h

    r7278 r7625  
    5555 friend class RTCM3Decoder;
    5656 public:
    57   t_ephGPS() { }
     57  t_ephGPS() {
     58    _clock_bias       = 0.0;
     59    _clock_drift      = 0.0;
     60    _clock_driftrate  = 0.0;
     61    _IODE             = 0.0;
     62    _Crs              = 0.0;
     63    _Delta_n          = 0.0;
     64    _M0               = 0.0;
     65    _Cuc              = 0.0;
     66    _e                = 0.0;
     67    _Cus              = 0.0;
     68    _sqrt_A           = 0.0;
     69    _TOEsec           = 0.0;
     70    _Cic              = 0.0;
     71    _OMEGA0           = 0.0;
     72    _Cis              = 0.0;
     73    _i0               = 0.0;
     74    _Crc              = 0.0;
     75    _omega            = 0.0;
     76    _OMEGADOT         = 0.0;
     77    _IDOT             = 0.0;
     78    _L2Codes          = 0.0;
     79    _TOEweek          = 0.0;
     80    _L2PFlag          = 0.0;
     81    _ura              = 0.0;
     82    _health           = 0.0;
     83    _TGD              = 0.0;
     84    _IODC             = 0.0;
     85    _TOT              = 0.0;
     86    _fitInterval      = 0.0;
     87  }
    5888  t_ephGPS(float rnxVersion, const QStringList& lines);
    5989  virtual ~t_ephGPS() {}
     
    109139 friend class RTCM3Decoder;
    110140 public:
    111   t_ephGlo() { _xv.ReSize(6); }
     141  t_ephGlo() {
     142    _xv.ReSize(6);
     143    _gps_utc          = 0.0;
     144    _tau              = 0.0;
     145    _gamma            = 0.0;
     146    _tki              = 0.0;
     147    _x_pos            = 0.0;
     148    _x_velocity       = 0.0;
     149    _x_acceleration   = 0.0;
     150    _health           = 0.0;
     151    _y_pos            = 0.0;
     152    _y_velocity       = 0.0;
     153    _y_acceleration   = 0.0;
     154    _frequency_number = 0.0;
     155    _z_pos            = 0.0;
     156    _z_velocity       = 0.0;
     157    _z_acceleration   = 0.0;
     158    _E                = 0.0;
     159  }
    112160  t_ephGlo(float rnxVersion, const QStringList& lines);
    113161  virtual ~t_ephGlo() {}
     
    150198 friend class RTCM3Decoder;
    151199 public:
    152   t_ephGal() { };
     200  t_ephGal() {
     201    _clock_bias      = 0.0;
     202    _clock_drift     = 0.0;
     203    _clock_driftrate = 0.0;
     204    _IODnav          = 0.0;
     205    _Crs             = 0.0;
     206    _Delta_n         = 0.0;
     207    _M0              = 0.0;
     208    _Cuc             = 0.0;
     209    _e               = 0.0;
     210    _Cus             = 0.0;
     211    _sqrt_A          = 0.0;
     212    _TOEsec          = 0.0;
     213    _Cic             = 0.0;
     214    _OMEGA0          = 0.0;
     215    _Cis             = 0.0;
     216    _i0              = 0.0;
     217    _Crc             = 0.0;
     218    _omega           = 0.0;
     219    _OMEGADOT        = 0.0;
     220    _IDOT            = 0.0;
     221    _TOEweek         = 0.0;
     222    _SISA            = 0.0;
     223    _E5aHS           = 0.0;
     224    _E5bHS           = 0.0;
     225    _E1_bHS          = 0.0;
     226    _BGD_1_5A        = 0.0;
     227    _BGD_1_5B        = 0.0;
     228    _TOT             = 0.0;
     229  };
    153230  t_ephGal(float rnxVersion, const QStringList& lines);
    154231  virtual ~t_ephGal() {}
     
    213290 friend class RTCM3Decoder;
    214291 public:
    215   t_ephSBAS() {}
     292  t_ephSBAS() {
     293    _IODN           = 0;
     294    _TOW            = 0.0;
     295    _agf0           = 0.0;
     296    _agf1           = 0.0;
     297    _x_pos          = 0.0;
     298    _x_velocity     = 0.0;
     299    _x_acceleration = 0.0;
     300    _y_pos          = 0.0;
     301    _y_velocity     = 0.0;
     302    _y_acceleration = 0.0;
     303    _z_pos          = 0.0;
     304    _z_velocity     = 0.0;
     305    _z_acceleration = 0.0;
     306    _ura            = 0.0;
     307    _health         = 0.0;
     308  }
    216309  t_ephSBAS(float rnxVersion, const QStringList& lines);
    217310  virtual ~t_ephSBAS() {}
     
    249342 friend class RTCM3Decoder;
    250343 public:
    251  t_ephBDS() : _TOEweek(-1.0) {}
     344 t_ephBDS() : _TOEweek(-1.0) {
     345   _TOT             = 0.0;
     346   _AODE            = 0;
     347   _AODC            = 0;
     348   _URAI            = 0;
     349   _URA             = 0.0;
     350   _clock_bias      = 0.0;
     351   _clock_drift     = 0.0;
     352   _clock_driftrate = 0.0;
     353   _Crs             = 0.0;
     354   _Delta_n         = 0.0;
     355   _M0              = 0.0;
     356   _Cuc             = 0.0;
     357   _e               = 0.0;
     358   _Cus             = 0.0;
     359   _sqrt_A          = 0.0;
     360   _Cic             = 0.0;
     361   _OMEGA0          = 0.0;
     362   _Cis             = 0.0;
     363   _i0              = 0.0;
     364   _Crc             = 0.0;
     365   _omega           = 0.0;
     366   _OMEGADOT        = 0.0;
     367   _IDOT            = 0.0;
     368   _TGD1            = 0.0;
     369   _TGD2            = 0.0;
     370   _SatH1           = 0.0;
     371   _TOW             = 0.0;
     372   _TOEsec          = 0.0;
     373   _TOEweek         = 0.0;
     374 }
    252375 t_ephBDS(float rnxVersion, const QStringList& lines);
    253376  virtual ~t_ephBDS() {}
  • trunk/BNC/src/pppModel.h

    r7246 r7625  
    3333  t_tides() {
    3434    _lastMjd = 0.0;
     35    _rSun    = 0.0;
     36    _rMoon   = 0.0;
    3537  }
    3638  ~t_tides() {}
     
    5658
    5759class t_tropo {
    58  public: 
     60 public:
    5961  static double delay_saast(const ColumnVector& xyz, double Ele);
    6062};
Note: See TracChangeset for help on using the changeset viewer.