Rev | Line | |
---|
[6135] | 1 | #ifndef SATOBS_H
|
---|
| 2 | #define SATOBS_H
|
---|
| 3 |
|
---|
| 4 | #include <string>
|
---|
| 5 | #include <vector>
|
---|
| 6 | #include <newmat.h>
|
---|
| 7 |
|
---|
[6455] | 8 | #include <QtCore>
|
---|
| 9 |
|
---|
[6135] | 10 | #include "bncconst.h"
|
---|
| 11 | #include "bnctime.h"
|
---|
| 12 | #include "t_prn.h"
|
---|
| 13 |
|
---|
| 14 | class t_frqObs {
|
---|
| 15 | public:
|
---|
| 16 | t_frqObs() {
|
---|
| 17 | _code = 0.0;
|
---|
| 18 | _codeValid = false;
|
---|
| 19 | _phase = 0.0;
|
---|
| 20 | _phaseValid = false;
|
---|
| 21 | _doppler = 0.0;
|
---|
| 22 | _dopplerValid = false;
|
---|
| 23 | _snr = 0.0;
|
---|
| 24 | _snrValid = false;
|
---|
| 25 | _slip = false;
|
---|
| 26 | _slipCounter = 0;
|
---|
| 27 | _biasJumpCounter = 0;
|
---|
| 28 | }
|
---|
| 29 | std::string _rnxType2ch;
|
---|
| 30 | double _code;
|
---|
| 31 | bool _codeValid;
|
---|
| 32 | double _phase;
|
---|
| 33 | bool _phaseValid;
|
---|
| 34 | double _doppler;
|
---|
| 35 | bool _dopplerValid;
|
---|
| 36 | double _snr;
|
---|
| 37 | bool _snrValid;
|
---|
| 38 | bool _slip;
|
---|
| 39 | int _slipCounter;
|
---|
| 40 | int _biasJumpCounter;
|
---|
| 41 | };
|
---|
| 42 |
|
---|
| 43 | class t_satObs {
|
---|
| 44 | public:
|
---|
| 45 | t_satObs() {}
|
---|
[6137] | 46 | t_satObs(const t_satObs& old) { // copy constructor (deep copy)
|
---|
| 47 | _staID = old._staID;
|
---|
| 48 | _prn = old._prn;
|
---|
| 49 | _time = old._time;
|
---|
| 50 | for (unsigned ii = 0; ii < old._obs.size(); ii++) {
|
---|
| 51 | _obs.push_back(new t_frqObs(*old._obs[ii]));
|
---|
| 52 | }
|
---|
| 53 | }
|
---|
[6135] | 54 | ~t_satObs() {for (unsigned ii = 0; ii < _obs.size(); ii++) delete _obs[ii];}
|
---|
[6137] | 55 | std::string _staID;
|
---|
[6135] | 56 | t_prn _prn;
|
---|
| 57 | bncTime _time;
|
---|
| 58 | std::vector<t_frqObs*> _obs;
|
---|
| 59 | };
|
---|
| 60 |
|
---|
| 61 | class t_orbCorr {
|
---|
| 62 | public:
|
---|
[6180] | 63 | t_orbCorr() {reset();}
|
---|
[6455] | 64 | static void writeEpoch(std::ostream* out, const QList<t_orbCorr>& corrList);
|
---|
| 65 | static void readEpoch(std::istream* in, QList<t_orbCorr>& corrList);
|
---|
[6180] | 66 | void reset();
|
---|
[6135] | 67 | t_prn prn() const {return _prn;}
|
---|
| 68 | unsigned short IOD() const {return _iod;}
|
---|
[6141] | 69 | std::string _staID;
|
---|
[6135] | 70 | t_prn _prn;
|
---|
| 71 | unsigned short _iod;
|
---|
| 72 | bncTime _time;
|
---|
| 73 | char _system;
|
---|
[6157] | 74 | ColumnVector _xr;
|
---|
| 75 | ColumnVector _dotXr;
|
---|
[6135] | 76 | };
|
---|
| 77 |
|
---|
| 78 | class t_clkCorr {
|
---|
| 79 | public:
|
---|
[6180] | 80 | t_clkCorr() {reset();}
|
---|
[6455] | 81 | static void writeEpoch(std::ostream* out, const QList<t_clkCorr>& corrList);
|
---|
| 82 | static void readEpoch(std::istream* in, QList<t_clkCorr>& corrList);
|
---|
[6180] | 83 | void reset();
|
---|
[6135] | 84 | t_prn prn() const {return _prn;}
|
---|
| 85 | unsigned short IOD() const {return _iod;}
|
---|
[6141] | 86 | std::string _staID;
|
---|
[6135] | 87 | t_prn _prn;
|
---|
| 88 | unsigned short _iod;
|
---|
| 89 | bncTime _time;
|
---|
| 90 | double _dClk;
|
---|
| 91 | double _dotDClk;
|
---|
| 92 | double _dotDotDClk;
|
---|
| 93 | };
|
---|
| 94 |
|
---|
| 95 | class t_frqBias {
|
---|
| 96 | public:
|
---|
| 97 | t_frqBias() {
|
---|
| 98 | _code = 0.0;
|
---|
| 99 | _codeValid = false;
|
---|
| 100 | _phase = 0.0;
|
---|
| 101 | _phaseValid = false;
|
---|
| 102 | }
|
---|
| 103 | std::string _rnxType2ch;
|
---|
| 104 | double _code;
|
---|
| 105 | bool _codeValid;
|
---|
| 106 | double _phase;
|
---|
| 107 | bool _phaseValid;
|
---|
| 108 | };
|
---|
| 109 |
|
---|
| 110 | class t_satBias {
|
---|
| 111 | public:
|
---|
[6141] | 112 | std::string _staID;
|
---|
[6135] | 113 | t_prn _prn;
|
---|
| 114 | bncTime _time;
|
---|
| 115 | int _nx;
|
---|
| 116 | int _jumpCount;
|
---|
| 117 | std::vector<t_frqBias> _bias;
|
---|
| 118 | };
|
---|
| 119 |
|
---|
| 120 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.