source: ntrip/trunk/BNS/bnssp3.h@ 849

Last change on this file since 849 was 849, checked in by mervart, 16 years ago

* empty log message *

File size: 780 bytes
Line 
1#ifndef BNSSP3_H
2#define BNSSP3_H
3
4#include <fstream>
5#include <newmat.h>
6#include <QtCore>
7
8class bnsSP3 {
9 public:
10 bnsSP3();
11 ~bnsSP3();
12 void write(int GPSweek, double GPSweeks, const QString& prn,
13 const ColumnVector& xx);
14
15 static QString nextEpochStr(const QDateTime& datTim,
16 const QString& intStr,
17 QDateTime* nextEpoch = 0);
18
19 private:
20 void resolveFileName(const QDateTime& datTim);
21 void writeHeader(const QDateTime& datTim);
22 void closeFile();
23
24 int _samplingRate;
25 bool _headerWritten;
26 QDateTime _nextCloseEpoch;
27 std::ofstream _out;
28 QString _path;
29 QString _intr;
30 QString _ext;
31 QString _ID4;
32 QByteArray _fName;
33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.