Rev | Line | |
---|
[773] | 1 |
|
---|
| 2 | #ifndef BNSUTILS_H
|
---|
| 3 | #define BNSUTILS_H
|
---|
| 4 |
|
---|
[804] | 5 | #include <newmat.h>
|
---|
| 6 |
|
---|
[773] | 7 | #include <QString>
|
---|
| 8 | #include <QDateTime>
|
---|
[930] | 9 | #include <QTcpSocket>
|
---|
[773] | 10 |
|
---|
[798] | 11 | class gpsEph;
|
---|
| 12 |
|
---|
[854] | 13 | enum t_irc {failure = -1, success}; // return code
|
---|
| 14 |
|
---|
[773] | 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 |
|
---|
[1197] | 22 | void GPSweekFromYMDhms(int year, int month, int day, int hour, int min,
|
---|
| 23 | double sec, int& GPSWeek, double& GPSWeeks);
|
---|
| 24 |
|
---|
[860] | 25 | void mjdFromDateAndTime(const QDateTime& dateTime, int& mjd, double& dayfrac);
|
---|
| 26 |
|
---|
[773] | 27 | void currentGPSWeeks(int& week, double& sec);
|
---|
| 28 |
|
---|
[804] | 29 | void XYZ_to_RSW(const ColumnVector& rr, const ColumnVector& vv,
|
---|
| 30 | const ColumnVector& xyz, ColumnVector& rsw);
|
---|
[884] | 31 |
|
---|
| 32 | ColumnVector rungeKutta4(double xi, const ColumnVector& yi, double dx,
|
---|
| 33 | ColumnVector (*der)(double x, const ColumnVector& y));
|
---|
| 34 |
|
---|
[930] | 35 | QByteArray waitForLine(QTcpSocket* socket);
|
---|
| 36 |
|
---|
[773] | 37 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.