Line | |
---|
1 | #ifndef PPPCLIENT_H
|
---|
2 | #define PPPCLIENT_H
|
---|
3 |
|
---|
4 | #include <sstream>
|
---|
5 | #include <vector>
|
---|
6 | #include "pppInclude.h"
|
---|
7 | #include "ephemeris.h"
|
---|
8 | #include "pppOptions.h"
|
---|
9 | #include "bncpppclient.h"
|
---|
10 |
|
---|
11 | namespace BNC_PPP {
|
---|
12 |
|
---|
13 | class t_pppClient {
|
---|
14 | public:
|
---|
15 | t_pppClient(const t_pppOptions* opt);
|
---|
16 | ~t_pppClient();
|
---|
17 |
|
---|
18 | void putEphemeris(const t_eph* eph);
|
---|
19 | void putOrbCorrections(const std::vector<t_orbCorr*>& corr);
|
---|
20 | void putClkCorrections(const std::vector<t_clkCorr*>& corr);
|
---|
21 | void putBiases(const std::vector<t_satBias*>& satBias);
|
---|
22 | void processEpoch(const std::vector<t_satObs*>& satObs, t_output* output);
|
---|
23 |
|
---|
24 | static t_pppClient* instance();
|
---|
25 | std::ostringstream& log() {return *_log;}
|
---|
26 |
|
---|
27 | private:
|
---|
28 | std::ostringstream* _log;
|
---|
29 | t_pppOptions* _opt;
|
---|
30 | bncPPPclient* _client;
|
---|
31 | };
|
---|
32 |
|
---|
33 | }; // namespace BNC_PPP
|
---|
34 |
|
---|
35 | #define LOG (BNC_PPP::t_pppClient::instance()->log())
|
---|
36 |
|
---|
37 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.