Changeset 6331 in ntrip for trunk/BNC/src/bncsp3.h
- Timestamp:
- Nov 24, 2014, 4:38:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncsp3.h
r4991 r6331 8 8 #include "bncoutf.h" 9 9 #include "bnctime.h" 10 #include "t_prn.h" 10 11 11 12 class bncSP3 : public bncoutf { 12 13 public: 13 bncSP3(const QString& sklFileName, const QString& intr, int sampl); 14 15 class t_sp3Sat { 16 public: 17 t_sp3Sat() { 18 _xyz.ReSize(3); 19 _xyz = 0.0; 20 _clk = 0.0; 21 } 22 ~t_sp3Sat() {} 23 t_prn _prn; 24 ColumnVector _xyz; 25 double _clk; 26 }; 27 28 class t_sp3Epoch { 29 public: 30 t_sp3Epoch() {} 31 ~t_sp3Epoch() { 32 for (int ii = 0; ii < _sp3Sat.size(); ii++) { 33 delete _sp3Sat[ii]; 34 } 35 } 36 bncTime _tt; 37 QVector<t_sp3Sat*> _sp3Sat; 38 }; 39 40 bncSP3(const QString& fileName); // input 41 bncSP3(const QString& sklFileName, const QString& intr, int sampl); // output 14 42 virtual ~bncSP3(); 15 43 t_irc write(int GPSweek, double GPSweeks, const QString& prn, … … 17 45 18 46 private: 47 enum e_inpOut {input, output}; 48 19 49 virtual void writeHeader(const QDateTime& datTim); 20 50 virtual void closeFile(); 21 bncTime _lastEpoTime; 51 const t_sp3Epoch* nextEpoch(); 52 const t_sp3Epoch* currEpoch() const {return _currEpoch;} 53 const t_sp3Epoch* prevEpoch() const {return _prevEpoch;} 54 55 e_inpOut _inpOut; 56 bncTime _lastEpoTime; 57 std::ifstream _stream; 58 std::string _lastLine; 59 t_sp3Epoch* _currEpoch; 60 t_sp3Epoch* _prevEpoch; 22 61 }; 23 62
Note:
See TracChangeset
for help on using the changeset viewer.