source: ntrip/trunk/BNC/src/PPP/pppClient.h@ 7232

Last change on this file since 7232 was 7231, checked in by stuerze, 10 years ago

some interfaces are added to be able to handle ssr vtec in PPP mode

File size: 2.2 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#include "pppUtils.h"
35
36class bncEphUser;
37class t_eph;
38
39namespace BNC_PPP {
40
41class t_pppClient : public interface_pppClient {
42 public:
43 t_pppClient(const t_pppOptions* opt);
44 ~t_pppClient();
45 void processEpoch(const std::vector<t_satObs*>& satObs, t_output* output);
46 void putEphemeris(const t_eph* eph);
47 void putTec(const t_vTec* vTec);
48 void putOrbCorrections(const std::vector<t_orbCorr*>& corr);
49 void putClkCorrections(const std::vector<t_clkCorr*>& corr);
50 void putCodeBiases(const std::vector<t_satCodeBias*>& satCodeBias);
51 std::ostringstream& log() {return *_log;}
52 const t_pppOptions* opt() const {return _opt;}
53
54 private:
55 t_irc getSatPos(const bncTime& tt, const QString& prn, ColumnVector& xc, ColumnVector& vv);
56 void putNewObs(t_satData* satData);
57 t_irc cmpToT(t_satData* satData);
58 bncEphUser* _ephUser;
59 t_pppOptions* _opt;
60 t_epoData* _epoData;
61 t_pppFilter* _filter;
62 t_pppUtils* _pppUtils;
63 std::ostringstream* _log;
64};
65
66} // namespace
67
68#endif
Note: See TracBrowser for help on using the repository browser.