source: ntrip/trunk/BNC/src/PPP_SSR_I/pppClient.h@ 7699

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

minor changes

  • Property svn:keywords set to Author Date Id Rev URL;svn:eol-style=native
  • Property svn:mime-type set to text/plain
File size: 2.3 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 void putPhaseBiases(const std::vector<t_satPhaseBias*>& satPhaseBias);
52 std::ostringstream& log() {return *_log;}
53 const t_pppOptions* opt() const {return _opt;}
54
55 private:
56 t_irc getSatPos(const bncTime& tt, const QString& prn, ColumnVector& xc, ColumnVector& vv);
57 void putNewObs(t_satData* satData);
58 t_irc cmpToT(t_satData* satData);
59 bncEphUser* _ephUser;
60 t_pppOptions* _opt;
61 t_epoData* _epoData;
62 t_pppFilter* _filter;
63 t_pppUtils* _pppUtils;
64 std::ostringstream* _log;
65 t_eph* _newEph;
66};
67
68} // namespace
69
70#endif
Note: See TracBrowser for help on using the repository browser.