source: ntrip/trunk/BNC/upload/bncrtnetuploadcaster.h@ 4174

Last change on this file since 4174 was 4174, checked in by mervart, 12 years ago
File size: 1.8 KB
Line 
1#ifndef BNCRTNETUPLOADCASTER_H
2#define BNCRTNETUPLOADCASTER_H
3
4#include <newmat.h>
5#include "bncuploadcaster.h"
6#include "bnctime.h"
7#include "ephemeris.h"
8extern "C" {
9#include "clock_orbit_rtcm.h"
10}
11
12class bncEphUser;
13class bncoutf;
14class bncClockRinex;
15class bncSP3;
16
17class bncRtnetUploadCaster : public bncUploadCaster {
18 Q_OBJECT
19 public:
20 bncRtnetUploadCaster(const QString& mountpoint,
21 const QString& outHost, int outPort,
22 const QString& password,
23 const QString& crdTrafo, bool CoM,
24 const QString& sp3FileName,
25 const QString& rnxFileName,
26 const QString& outFileName,
27 int PID, int SID, int IOD, int iRow);
28 void decodeRtnetStream(char* buffer, int bufLen);
29 protected:
30 virtual ~bncRtnetUploadCaster();
31 private:
32 void processSatellite(t_eph* eph, int GPSweek,
33 double GPSweeks, const QString& prn,
34 const ColumnVector& xx,
35 struct ClockOrbit::SatData* sd,
36 QString& outLine);
37 void crdTrafo(int GPSWeek, ColumnVector& xyz);
38
39 bncEphUser* _ephUser;
40 QString _rtnetStreamBuffer;
41 QString _crdTrafo;
42 bool _CoM;
43 int _PID;
44 int _SID;
45 int _IOD;
46 double _samplRtcmEphCorr;
47 double _dx;
48 double _dy;
49 double _dz;
50 double _dxr;
51 double _dyr;
52 double _dzr;
53 double _ox;
54 double _oy;
55 double _oz;
56 double _oxr;
57 double _oyr;
58 double _ozr;
59 double _sc;
60 double _scr;
61 double _t0;
62 bncoutf* _outFile;
63 bncClockRinex* _rnx;
64 bncSP3* _sp3;
65 QMap<QString, t_eph*>* _usedEph;
66};
67
68#endif
Note: See TracBrowser for help on using the repository browser.