Changeset 10038 in ntrip for trunk/BNC/src/satObs.h
- Timestamp:
- May 10, 2023, 11:19:40 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/satObs.h
r9567 r10038 49 49 class t_satObs { 50 50 public: 51 t_satObs() {} 51 t_satObs() { 52 _type = 0; 53 } 52 54 t_satObs(const t_satObs& old) { // copy constructor (deep copy) 53 55 _staID = old._staID; … … 62 64 * Destructor of satellite measurement storage class 63 65 */ 64 ~t_satObs() 65 { 66 ~t_satObs() { 66 67 clear(); 67 68 } … … 70 71 * Cleanup function resets all elements to initial state. 71 72 */ 72 inline void clear(void) 73 { 73 inline void clear(void) { 74 74 for (unsigned ii = 0; ii < _obs.size(); ii++) 75 75 delete _obs[ii]; … … 92 92 public: 93 93 t_orbCorr(); 94 t_orbCorr(const t_orbCorr& old) { // copy constructor (deep copy) 95 _staID = old._staID; 96 _prn = old._prn; 97 _iod = old._iod; 98 _time = old._time; 99 _updateInt = old._updateInt; 100 _system = old._system; 101 _xr = old._xr; 102 _dotXr = old._dotXr; 103 } 94 104 static void writeEpoch(std::ostream* out, const QList<t_orbCorr>& corrList); 95 105 static void readEpoch(const std::string& epoLine, std::istream& in, QList<t_orbCorr>& corrList); … … 107 117 public: 108 118 t_clkCorr(); 119 t_clkCorr(const t_clkCorr& old) { // copy constructor (deep copy) 120 _staID = old._staID; 121 _prn = old._prn; 122 _iod = old._iod; 123 _time = old._time; 124 _updateInt = old._updateInt; 125 _dClk = old._dClk; 126 _dotDClk = old._dotDClk; 127 _dotDotDClk = old._dotDotDClk; 128 } 109 129 static void writeEpoch(std::ostream* out, const QList<t_clkCorr>& corrList); 110 130 static void readEpoch(const std::string& epoLine, std::istream& in, QList<t_clkCorr>& corrList); … … 143 163 class t_satCodeBias { 144 164 public: 165 t_satCodeBias() { 166 _updateInt = 0; 167 } 168 t_satCodeBias(const t_satCodeBias& old) { // copy constructor (deep copy) 169 _staID = old._staID; 170 _prn = old._prn; 171 _time = old._time; 172 _updateInt = old._updateInt; 173 for (unsigned ii = 0; ii < old._bias.size(); ii++) { 174 _bias.push_back(old._bias[ii]); 175 } 176 } 145 177 static void writeEpoch(std::ostream* out, const QList<t_satCodeBias>& biasList); 146 178 static void readEpoch(const std::string& epoLine, std::istream& in, QList<t_satCodeBias>& biasList); … … 175 207 _yaw = 0.0; 176 208 _yawRate = 0.0; 209 } 210 t_satPhaseBias(const t_satPhaseBias& old) { // copy constructor (deep copy) 211 _staID = old._staID; 212 _prn = old._prn; 213 _time = old._time; 214 _updateInt = old._updateInt; 215 _dispBiasConstistInd = old._dispBiasConstistInd; 216 _MWConsistInd = old._MWConsistInd; 217 _yaw = old._yaw; 218 _yawRate = old._yawRate; 219 for (unsigned ii = 0; ii < old._bias.size(); ii++) { 220 _bias.push_back(old._bias[ii]); 221 } 177 222 } 178 223 static void writeEpoch(std::ostream* out, const QList<t_satPhaseBias>& biasList); … … 201 246 class t_vTec { 202 247 public: 248 t_vTec(){ 249 _updateInt = 0; 250 } 251 t_vTec(const t_vTec& old) { // copy constructor (deep copy) 252 _staID = old._staID; 253 _time = old._time; 254 _updateInt = old._updateInt; 255 for (unsigned ii = 0; ii < old._layers.size(); ii++) { 256 _layers.push_back(old._layers[ii]); 257 } 258 } 203 259 static void write(std::ostream* out, const t_vTec& vTec); 204 260 static void read(const std::string& epoLine, std::istream& in, t_vTec& vTec);
Note:
See TracChangeset
for help on using the changeset viewer.