[6083] | 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.
|
---|
[6048] | 24 |
|
---|
[6093] | 25 | #ifndef PPPCLIENT_H
|
---|
| 26 | #define PPPCLIENT_H
|
---|
[6083] | 27 |
|
---|
[6048] | 28 | #include <vector>
|
---|
[6099] | 29 | #include <QtCore>
|
---|
[6048] | 30 |
|
---|
[6099] | 31 | #include "pppInclude.h"
|
---|
| 32 | #include "pppOptions.h"
|
---|
[6100] | 33 | #include "pppFilter.h"
|
---|
[6099] | 34 |
|
---|
| 35 | class bncEphUser;
|
---|
| 36 | class t_eph;
|
---|
| 37 |
|
---|
[6048] | 38 | namespace BNC_PPP {
|
---|
[6083] | 39 |
|
---|
[6102] | 40 | class t_pppClient : public interface_pppClient {
|
---|
[6099] | 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);
|
---|
[6100] | 49 | std::ostringstream& log() {return *_log;}
|
---|
[6099] | 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 |
|
---|
[6100] | 64 | } // namespace
|
---|
[6083] | 65 |
|
---|
[6048] | 66 | #endif
|
---|