Last change
on this file since 8203 was 7288, checked in by stuerze, 9 years ago |
phase biases added
|
-
Property svn:keywords
set to
Author Date Id Rev URL;svn:eol-style=native
-
Property svn:mime-type
set to
text/plain
|
File size:
1.4 KB
|
Rev | Line | |
---|
[7237] | 1 | #ifndef OBSPOOL_H
|
---|
| 2 | #define OBSPOOL_H
|
---|
| 3 |
|
---|
| 4 | #include <vector>
|
---|
| 5 | #include <deque>
|
---|
| 6 | #include "pppSatObs.h"
|
---|
| 7 | #include "bnctime.h"
|
---|
| 8 |
|
---|
| 9 | namespace BNC_PPP {
|
---|
| 10 |
|
---|
| 11 | class t_pppObsPool {
|
---|
[7288] | 12 | public:
|
---|
[7237] | 13 |
|
---|
| 14 | class t_epoch {
|
---|
| 15 | public:
|
---|
| 16 | t_epoch(const bncTime& epoTime, std::vector<t_pppSatObs*>& obsVector);
|
---|
| 17 | ~t_epoch();
|
---|
| 18 | std::vector<t_pppSatObs*>& obsVector() {return _obsVector;}
|
---|
| 19 | const std::vector<t_pppSatObs*>& obsVector() const {return _obsVector;}
|
---|
| 20 | const bncTime& epoTime() const {return _epoTime;}
|
---|
| 21 | private:
|
---|
| 22 | bncTime _epoTime;
|
---|
| 23 | std::vector<t_pppSatObs*> _obsVector;
|
---|
| 24 | };
|
---|
| 25 |
|
---|
| 26 | t_pppObsPool();
|
---|
| 27 | ~t_pppObsPool();
|
---|
| 28 | void putCodeBias(t_satCodeBias* satCodeBias);
|
---|
[7288] | 29 | void putPhaseBias(t_satPhaseBias* satPhaseBias);
|
---|
[7249] | 30 | void putTec(t_vTec* _vTec);
|
---|
[7237] | 31 |
|
---|
| 32 | void putEpoch(const bncTime& epoTime, std::vector<t_pppSatObs*>& obsVector);
|
---|
| 33 |
|
---|
[7288] | 34 | const t_satCodeBias* satCodeBias(const t_prn& prn) const {
|
---|
[7237] | 35 | return _satCodeBiases[prn.toInt()];
|
---|
| 36 | }
|
---|
[7288] | 37 | const t_satPhaseBias* satPhaseBias(const t_prn& prn) const {
|
---|
| 38 | return _satPhaseBiases[prn.toInt()];
|
---|
| 39 | }
|
---|
[7249] | 40 | const t_vTec* vTec() const {return _vTec;}
|
---|
[7237] | 41 |
|
---|
| 42 | t_epoch* lastEpoch() {
|
---|
| 43 | if (_epochs.size()) {
|
---|
| 44 | return _epochs.back();
|
---|
| 45 | }
|
---|
| 46 | else {
|
---|
| 47 | return 0;
|
---|
| 48 | }
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | private:
|
---|
| 52 | t_satCodeBias* _satCodeBiases[t_prn::MAXPRN+1];
|
---|
[7288] | 53 | t_satPhaseBias* _satPhaseBiases[t_prn::MAXPRN+1];
|
---|
[7249] | 54 | t_vTec* _vTec;
|
---|
[7237] | 55 | std::deque<t_epoch*> _epochs;
|
---|
| 56 | };
|
---|
| 57 |
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.