source: ntrip/trunk/BNC/upload/bncrtnetdecoder.h@ 3179

Last change on this file since 3179 was 3179, checked in by mervart, 13 years ago
File size: 2.7 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 BNCRTNETDECODER_H
26#define BNCRTNETDECODER_H
27
28#include <fstream>
29#include <QtCore>
30#include "bncephuser.h"
31#include "bncuploadcaster.h"
32#include "RTCM/GPSDecoder.h"
33
34class bncClockRinex;
35class bncSP3;
36
37class bncRtnetDecoder: public GPSDecoder, public bncEphUser {
38 public:
39 bncRtnetDecoder();
40 ~bncRtnetDecoder();
41 virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg);
42 private:
43 void readEpochTime(const QString& line);
44 void processSatellite(int iCaster, const QString trafo,
45 bool CoM, t_eph* ep, int GPSweek,
46 double GPSweeks, const QString& prn,
47 const ColumnVector& xx,
48 struct ClockOrbit::SatData* sd,
49 QString& outLine);
50 void crdTrafo(int GPSWeek, ColumnVector& xyz,
51 const QString& trafo);
52
53 QList<bncUploadCaster*> _caster;
54 bool _append;
55 QString _buffer;
56 int _GPSweek;
57 double _GPSweeks;
58 int _year;
59 int _month;
60 int _day;
61 int _hour;
62 int _min;
63 double _sec;
64 double _dx;
65 double _dy;
66 double _dz;
67 double _dxr;
68 double _dyr;
69 double _dzr;
70 double _ox;
71 double _oy;
72 double _oz;
73 double _oxr;
74 double _oyr;
75 double _ozr;
76 double _sc;
77 double _scr;
78 double _t0;
79 bncClockRinex* _rnx;
80 bncSP3* _sp3;
81};
82
83#endif // include blocker
Note: See TracBrowser for help on using the repository browser.