source: ntrip/trunk/BNC/src/upload/bncrtnetuploadcaster.h@ 5130

Last change on this file since 5130 was 5130, checked in by mervart, 11 years ago
File size: 1.9 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 int PID, int SID, int IOD, int iRow);
27 void decodeRtnetStream(char* buffer, int bufLen);
28 protected:
29 virtual ~bncRtnetUploadCaster();
30 private:
31 void processSatellite(t_eph* eph, int GPSweek,
32 double GPSweeks, const QString& prn,
33 const ColumnVector& rtnAPC,
34 double rtnClk,
35 const ColumnVector& rtnVel,
36 const ColumnVector& rtnCoM,
37 struct ClockOrbit::SatData* sd,
38 QString& outLine);
39 void crdTrafo(int GPSWeek, ColumnVector& xyz, double& dc);
40
41 QString _casterID;
42 bncEphUser* _ephUser;
43 QString _rtnetStreamBuffer;
44 QString _crdTrafo;
45 bool _CoM;
46 int _PID;
47 int _SID;
48 int _IOD;
49 double _samplRtcmEphCorr;
50 double _dx;
51 double _dy;
52 double _dz;
53 double _dxr;
54 double _dyr;
55 double _dzr;
56 double _ox;
57 double _oy;
58 double _oz;
59 double _oxr;
60 double _oyr;
61 double _ozr;
62 double _sc;
63 double _scr;
64 double _t0;
65 bncClockRinex* _rnx;
66 bncSP3* _sp3;
67 QMap<QString, t_eph*>* _usedEph;
68};
69
70#endif
Note: See TracBrowser for help on using the repository browser.