Changeset 6812 in ntrip for trunk/BNC/src/satObs.h


Ignore:
Timestamp:
May 5, 2015, 3:44:39 PM (9 years ago)
Author:
stoecker
Message:

integrate RTCM3 parsing into BNC and directly fill target structures, add doxygen documentation

Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src

    • Property svn:ignore
      •  

        old new  
        55debug
        66release
         7html
  • trunk/BNC/src/satObs.h

    r6589 r6812  
    5252    }
    5353  }
    54   ~t_satObs() {for (unsigned ii = 0; ii < _obs.size(); ii++) delete _obs[ii];}
     54  /**
     55   * Destructor of satellite measurement storage class
     56   */
     57  ~t_satObs()
     58  {
     59    clear();
     60  }
     61
     62  /**
     63   * Cleanup function resets all elements to initial state.
     64   */
     65  inline void clear(void)
     66  {
     67    for (unsigned ii = 0; ii < _obs.size(); ii++)
     68      delete _obs[ii];
     69    _obs.clear();
     70    _obs.resize(0);
     71    _time.reset();
     72    _prn.clear();
     73    _staID.clear();
     74  }
    5575
    5676  std::string            _staID;
Note: See TracChangeset for help on using the changeset viewer.