source: ntrip/trunk/BNC/src/PPP_free/pppClient.h@ 6205

Last change on this file since 6205 was 6102, checked in by mervart, 10 years ago
File size: 2.1 KB
Line 
1// Part of BNC, a utility for retrieving decoding and
2// converting GNSS data streams from NTRIP broadcasters.
3//
4// Copyright (C) 2007
5// German Federal Agency for Cartography and Geodesy (BKG)
6// http://www.bkg.bund.de
7// Czech Technical University Prague, Department of Geodesy
8// http://www.fsv.cvut.cz
9//
10// Email: euref-ip@bkg.bund.de
11//
12// This program is free software; you can redistribute it and/or
13// modify it under the terms of the GNU General Public License
14// as published by the Free Software Foundation, version 2.
15//
16// This program is distributed in the hope that it will be useful,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19// GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program; if not, write to the Free Software
23// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
25#ifndef PPPCLIENT_H
26#define PPPCLIENT_H
27
28#include <vector>
29#include <QtCore>
30
31#include "pppInclude.h"
32#include "pppOptions.h"
33#include "pppFilter.h"
34
35class bncEphUser;
36class t_eph;
37
38namespace BNC_PPP {
39
40class t_pppClient : public interface_pppClient {
41 public:
42 t_pppClient(const t_pppOptions* opt);
43 ~t_pppClient();
44 void processEpoch(const std::vector<t_satObs*>& satObs, t_output* output);
45 void putEphemeris(const t_eph* eph);
46 void putOrbCorrections(const std::vector<t_orbCorr*>& corr);
47 void putClkCorrections(const std::vector<t_clkCorr*>& corr);
48 void putBiases(const std::vector<t_satBias*>& satBias);
49 std::ostringstream& log() {return *_log;}
50 const t_pppOptions* opt() const {return _opt;}
51
52 private:
53 t_irc getSatPos(const bncTime& tt, const QString& prn, ColumnVector& xc, ColumnVector& vv);
54 void putNewObs(t_satData* satData);
55 t_irc cmpToT(t_satData* satData);
56
57 bncEphUser* _ephUser;
58 t_pppOptions* _opt;
59 t_epoData* _epoData;
60 t_pppFilter* _filter;
61 std::ostringstream* _log;
62};
63
64} // namespace
65
66#endif
Note: See TracBrowser for help on using the repository browser.