Line | |
---|
1 |
|
---|
2 | #ifndef BNSUTILS_H
|
---|
3 | #define BNSUTILS_H
|
---|
4 |
|
---|
5 | #include <newmat.h>
|
---|
6 |
|
---|
7 | #include <QString>
|
---|
8 | #include <QDateTime>
|
---|
9 | #include <QTcpSocket>
|
---|
10 |
|
---|
11 | class gpsEph;
|
---|
12 |
|
---|
13 | enum t_irc {failure = -1, success}; // return code
|
---|
14 |
|
---|
15 | void expandEnvVar(QString& str);
|
---|
16 |
|
---|
17 | QDateTime dateAndTimeFromGPSweek(int GPSWeek, double GPSWeeks);
|
---|
18 |
|
---|
19 | void GPSweekFromDateAndTime(const QDateTime& dateTime,
|
---|
20 | int& GPSWeek, double& GPSWeeks);
|
---|
21 |
|
---|
22 | void mjdFromDateAndTime(const QDateTime& dateTime, int& mjd, double& dayfrac);
|
---|
23 |
|
---|
24 | void currentGPSWeeks(int& week, double& sec);
|
---|
25 |
|
---|
26 | void XYZ_to_RSW(const ColumnVector& rr, const ColumnVector& vv,
|
---|
27 | const ColumnVector& xyz, ColumnVector& rsw);
|
---|
28 |
|
---|
29 | ColumnVector rungeKutta4(double xi, const ColumnVector& yi, double dx,
|
---|
30 | ColumnVector (*der)(double x, const ColumnVector& y));
|
---|
31 |
|
---|
32 | QByteArray waitForLine(QTcpSocket* socket);
|
---|
33 |
|
---|
34 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.