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

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