Changeset 7628 in ntrip for trunk/BNC/src/RTCM/RTCM2_2021.h


Ignore:
Timestamp:
Dec 9, 2015, 5:26:32 PM (7 years ago)
Author:
stuerze
Message:

some value initialization in constructor is added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM/RTCM2_2021.h

    r1269 r7628  
    77class RTCM2_2021 {
    88
    9   public: 
     9  public:
    1010
    1111    RTCM2_2021();                           // Constructor
    12    
     12
    1313    void   extract(const RTCM2packet& P);  // Packet handler
    1414    void   clear();                        // Initialization
    15     bool   valid() const { return valid_; }                  // Check for complete obs block 
     15    bool   valid() const { return valid_; }                  // Check for complete obs block
    1616
    1717    double resolvedPhase_L1(int i) const;  // L1 & L2 carrier phase of i-th sat
    18     double resolvedPhase_L2(int i) const;  // with resolved 2^24 cy ambiguity 
     18    double resolvedPhase_L2(int i) const;  // with resolved 2^24 cy ambiguity
    1919                                           // (based on rng_C1)
    2020
    21   public: 
     21  public:
    2222
    2323    struct HiResCorr {
    24    
     24
    2525      HiResCorr();
    2626      void reset();
     
    6262    double                        tt_;
    6363    bool                          valid_;
    64 }; 
     64};
    6565
    6666class RTCM2_22 {
    6767 public:
    68   RTCM2_22() { 
     68  RTCM2_22() {
    6969    validMsg = false;
     70    for (unsigned ii = 0; ii < 3; ii++){
     71      dL1[ii] = 0.0;
     72      dL2[ii] = 0.0;
     73    }
    7074  }
    71  
     75
    7276  void extract(const RTCM2packet& P);
    7377
Note: See TracChangeset for help on using the changeset viewer.