source: ntrip/trunk/BNC/combination/bnccomb.h@ 3432

Last change on this file since 3432 was 3432, checked in by mervart, 13 years ago
File size: 1.5 KB
RevLine 
[2898]1
2#ifndef BNCCOMB_H
3#define BNCCOMB_H
4
[3035]5#include <fstream>
[2933]6#include <newmat.h>
[2906]7#include "bncephuser.h"
[2898]8
[3201]9class bncRtnetDecoder;
[3181]10class bncSP3;
[3052]11class bncAntex;
[2927]12
[2933]13class cmbParam {
14 public:
[3430]15 enum parType {offAC, offACSat, clkSat};
16 cmbParam(parType type_, int index_, const QString& ac_, const QString& prn_);
[2933]17 ~cmbParam();
[3430]18 double partial(const QString& AC_, const QString& prn_);
[2990]19 QString toString() const;
[2933]20 parType type;
21 int index;
22 QString AC;
23 QString prn;
24 double xx;
[3032]25 double sig_0;
26 double sig_P;
[2933]27};
28
[2906]29class bncComb : public bncEphUser {
[2898]30 Q_OBJECT
31
32 public:
33 bncComb();
[3297]34 virtual ~bncComb();
[2898]35 void processCorrLine(const QString& staID, const QString& line);
[2918]36 int nStreams() const {return _ACs.size();}
[2898]37
38 signals:
39 void newMessage(QByteArray msg, bool showOnScreen);
40
41 private:
[2918]42
43 class cmbAC {
44 public:
45 cmbAC() {}
[3430]46 ~cmbAC() {}
[2918]47 QString mountPoint;
48 QString name;
49 double weight;
50 };
51
[3430]52 class cmbCorr : public t_corr {
[3423]53 public:
[3430]54 QString acName;
[3423]55 };
56
[3430]57 void processEpoch();
58 void dumpResults(const QMap<QString, t_corr*>& resCorr);
59 void printResults(QTextStream& out, const QMap<QString, t_corr*>& resCorr);
[3029]60 void switchToLastEph(const t_eph* lastEph, t_corr* corr);
[2918]61
[3430]62 QList<cmbAC*> _ACs;
63 bncTime _resTime;
64 QVector<cmbParam*> _params;
[3432]65 QVector<cmbCorr*> _corrs;
[3430]66 bncRtnetDecoder* _rtnetDecoder;
67 SymmetricMatrix _QQ;
68 bool _firstReg;
69 QByteArray _log;
70 bncAntex* _antex;
71 double _MAXRES;
[2898]72};
73
74#endif
Note: See TracBrowser for help on using the repository browser.