Last change
on this file since 10166 was 10034, checked in by stuerze, 16 months ago |
|
-
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.6 KB
|
Line | |
---|
1 | #ifndef OBSPOOL_H
|
---|
2 | #define OBSPOOL_H
|
---|
3 |
|
---|
4 | #include <vector>
|
---|
5 | #include <deque>
|
---|
6 | #include <iostream>
|
---|
7 | #include "pppSatObs.h"
|
---|
8 | #include "bnctime.h"
|
---|
9 |
|
---|
10 | namespace BNC_PPP {
|
---|
11 |
|
---|
12 | class t_pppObsPool {
|
---|
13 | public:
|
---|
14 |
|
---|
15 | class t_epoch {
|
---|
16 | public:
|
---|
17 | t_epoch(const bncTime& epoTime, std::vector<t_pppSatObs*>& obsVector,
|
---|
18 | bool pseudoObsIono);
|
---|
19 | ~t_epoch();
|
---|
20 | std::vector<t_pppSatObs*>& obsVector() {return _obsVector;}
|
---|
21 | const std::vector<t_pppSatObs*>& obsVector() const {return _obsVector;}
|
---|
22 | const bncTime& epoTime() const {return _epoTime;}
|
---|
23 | bool pseudoObsIono() const {return _pseudoObsIono;}
|
---|
24 | private:
|
---|
25 | bncTime _epoTime;
|
---|
26 | bool _pseudoObsIono;
|
---|
27 | std::vector<t_pppSatObs*> _obsVector;
|
---|
28 | };
|
---|
29 |
|
---|
30 | t_pppObsPool();
|
---|
31 | ~t_pppObsPool();
|
---|
32 | void putCodeBias(t_satCodeBias* satCodeBias);
|
---|
33 | void putPhaseBias(t_satPhaseBias* satPhaseBias);
|
---|
34 | void putTec(t_vTec* _vTec);
|
---|
35 |
|
---|
36 | void putEpoch(const bncTime& epoTime, std::vector<t_pppSatObs*>& obsVector,
|
---|
37 | bool pseudoObsIono);
|
---|
38 |
|
---|
39 | const t_satCodeBias* satCodeBias(const t_prn& prn) const {
|
---|
40 | return _satCodeBiases[prn.toInt()];
|
---|
41 | }
|
---|
42 | const t_satPhaseBias* satPhaseBias(const t_prn& prn) const {
|
---|
43 | return _satPhaseBiases[prn.toInt()];
|
---|
44 | }
|
---|
45 | const t_vTec* vTec() const {return _vTec;}
|
---|
46 |
|
---|
47 | t_epoch* lastEpoch() {
|
---|
48 | if (_epochs.size()) {
|
---|
49 | return _epochs.back();
|
---|
50 | }
|
---|
51 | else {
|
---|
52 | return 0;
|
---|
53 | }
|
---|
54 | }
|
---|
55 |
|
---|
56 | private:
|
---|
57 | t_satCodeBias* _satCodeBiases[t_prn::MAXPRN+1];
|
---|
58 | t_satPhaseBias* _satPhaseBiases[t_prn::MAXPRN+1];
|
---|
59 | t_vTec* _vTec;
|
---|
60 | std::deque<t_epoch*> _epochs;
|
---|
61 | };
|
---|
62 |
|
---|
63 | }
|
---|
64 |
|
---|
65 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.