source: ntrip/branches/BNC_LM/upload/bncrtnetuploadcaster.h@ 4515

Last change on this file since 4515 was 3233, checked in by mervart, 14 years ago
File size: 1.6 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, 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& xx,
34 struct ClockOrbit::SatData* sd,
35 QString& outLine);
36 void crdTrafo(int GPSWeek, ColumnVector& xyz);
37
38 bncEphUser* _ephUser;
39 QString _rtnetStreamBuffer;
40 QString _crdTrafo;
41 bool _CoM;
42 double _dx;
43 double _dy;
44 double _dz;
45 double _dxr;
46 double _dyr;
47 double _dzr;
48 double _ox;
49 double _oy;
50 double _oz;
51 double _oxr;
52 double _oyr;
53 double _ozr;
54 double _sc;
55 double _scr;
56 double _t0;
57 bncoutf* _outFile;
58 bncClockRinex* _rnx;
59 bncSP3* _sp3;
60};
61
62#endif
Note: See TracBrowser for help on using the repository browser.