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

Last change on this file since 3225 was 3225, checked in by mervart, 13 years ago
File size: 1.7 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 protected:
28 virtual ~bncRtnetUploadCaster();
29 public:
30 virtual void run();
31 void decodeRtnetStream(char* buffer, int bufLen);
32 private:
33 void uploadClockOrbitBias();
34 void processSatellite(t_eph* eph, int GPSweek,
35 double GPSweeks, const QString& prn,
36 const ColumnVector& xx,
37 struct ClockOrbit::SatData* sd,
38 QString& outLine);
39 void crdTrafo(int GPSWeek, ColumnVector& xyz);
40
41 bncEphUser* _ephUser;
42 QString _rtnetStreamBuffer;
43 bncTime _epoTime;
44 QString _crdTrafo;
45 bool _CoM;
46 double _dx;
47 double _dy;
48 double _dz;
49 double _dxr;
50 double _dyr;
51 double _dzr;
52 double _ox;
53 double _oy;
54 double _oz;
55 double _oxr;
56 double _oyr;
57 double _ozr;
58 double _sc;
59 double _scr;
60 double _t0;
61 bncoutf* _outFile;
62 bncClockRinex* _rnx;
63 bncSP3* _sp3;
64};
65
66#endif
Note: See TracBrowser for help on using the repository browser.