source: ntrip/trunk/BNC/src/PPP/pppObsPool.h@ 7249

Last change on this file since 7249 was 7249, checked in by stuerze, 9 years ago

vtec data are 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.2 KB
RevLine 
[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
9namespace BNC_PPP {
10
11class t_pppObsPool {
12 public:
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);
[7249]29 void putTec(t_vTec* _vTec);
[7237]30
31 void putEpoch(const bncTime& epoTime, std::vector<t_pppSatObs*>& obsVector);
32
33 const t_satCodeBias* satCodeBias(const t_prn& prn) const {
34 return _satCodeBiases[prn.toInt()];
35 }
[7249]36 const t_vTec* vTec() const {return _vTec;}
[7237]37
38 t_epoch* lastEpoch() {
39 if (_epochs.size()) {
40 return _epochs.back();
41 }
42 else {
43 return 0;
44 }
45 }
46
47 private:
48 t_satCodeBias* _satCodeBiases[t_prn::MAXPRN+1];
[7249]49 t_vTec* _vTec;
[7237]50 std::deque<t_epoch*> _epochs;
51};
52
53}
54
55#endif
Note: See TracBrowser for help on using the repository browser.