source: ntrip/branches/BNC_2.12/src/upload/bncrtnetuploadcaster.h@ 8989

Last change on this file since 8989 was 8989, checked in by stuerze, 4 years ago

minor changes

File size: 2.6 KB
RevLine 
[3224]1#ifndef BNCRTNETUPLOADCASTER_H
2#define BNCRTNETUPLOADCASTER_H
[3222]3
[3224]4#include <newmat.h>
5#include "bncuploadcaster.h"
[3222]6#include "bnctime.h"
[3225]7#include "ephemeris.h"
8extern "C" {
[8989]9#ifdef USE_SSR_RTCM
10#include "../RTCM3/clock_and_orbit/clock_orbit_rtcm.h"
11#elif USE_SSR_IGS
12#include "../RTCM3/clock_and_orbit/clock_orbit_igs.h"
13#endif
[3225]14}
[3222]15
[3224]16class bncEphUser;
[3222]17class bncoutf;
18class bncClockRinex;
19class bncSP3;
20
[3224]21class bncRtnetUploadCaster : public bncUploadCaster {
[3222]22 Q_OBJECT
23 public:
[3224]24 bncRtnetUploadCaster(const QString& mountpoint,
[3222]25 const QString& outHost, int outPort,
[8415]26 const QString& password,
27 const QString& crdTrafo, bool CoM,
[3222]28 const QString& sp3FileName,
29 const QString& rnxFileName,
[4111]30 int PID, int SID, int IOD, int iRow);
[3226]31 void decodeRtnetStream(char* buffer, int bufLen);
[3222]32 protected:
[3224]33 virtual ~bncRtnetUploadCaster();
[3222]34 private:
[8541]35 t_irc processSatellite(const t_eph* eph, int GPSweek,
[8415]36 double GPSweeks, const QString& prn,
[4991]37 const ColumnVector& rtnAPC,
[8484]38 double ura,
39 const ColumnVector& rtnClk,
[4991]40 const ColumnVector& rtnVel,
41 const ColumnVector& rtnCoM,
[8484]42 const ColumnVector& rtnClkSig,
[3222]43 struct ClockOrbit::SatData* sd,
44 QString& outLine);
[4803]45 void crdTrafo(int GPSWeek, ColumnVector& xyz, double& dc);
[3222]46
[6557]47 int determineUpdateInd(double samplingRate);
48
[5130]49 QString _casterID;
[3222]50 bncEphUser* _ephUser;
51 QString _rtnetStreamBuffer;
52 QString _crdTrafo;
53 bool _CoM;
[4111]54 int _PID;
55 int _SID;
56 int _IOD;
[6557]57 int _samplRtcmClkCorr;
[4174]58 double _samplRtcmEphCorr;
[3222]59 double _dx;
60 double _dy;
61 double _dz;
62 double _dxr;
63 double _dyr;
64 double _dzr;
65 double _ox;
66 double _oy;
67 double _oz;
68 double _oxr;
69 double _oyr;
70 double _ozr;
71 double _sc;
72 double _scr;
73 double _t0;
74 bncClockRinex* _rnx;
75 bncSP3* _sp3;
[6442]76 QMap<QString, const t_eph*>* _usedEph;
[3222]77};
78
[6850]79struct phaseBiasesSat {
[7257]80 phaseBiasesSat() {
[8018]81 yawAngle = 0.0;
82 yawRate = 0.0;
[7257]83 }
[8018]84 double yawAngle;
85 double yawRate;
[6850]86};
87
88struct phaseBiasSignal {
[7257]89 phaseBiasSignal() {
90 bias = 0.0;
[8018]91 integerIndicator = 0;
92 wlIndicator = 0;
93 discontinuityCounter = 0;
[7257]94 }
[6850]95 QString type;
96 double bias;
[8018]97 unsigned int integerIndicator;
98 unsigned int wlIndicator;
99 unsigned int discontinuityCounter;
[6850]100};
101
[3222]102#endif
Note: See TracBrowser for help on using the repository browser.