Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r1061 r1062 74 74 // ------------------------------------------- 75 75 _caster = new t_bnscaster(settings.value("mountpoint").toString()); 76 connect(_clkServer, SIGNAL(error(const QByteArray)), 77 this, SLOT(slotError(const QByteArray))); 78 connect(_clkServer, SIGNAL(newMessage(const QByteArray)), 79 this, SLOT(slotNewMessage(const QByteArray))); 76 80 77 81 QIODevice::OpenMode oMode; -
trunk/BNS/bns.h
r1058 r1062 8 8 9 9 #include "bnseph.h" 10 #include "bnscaster.h" 10 11 extern "C" { 11 12 #include "RTCM/clock_orbit_rtcm.h" … … 65 66 QTcpServer* _clkServer; 66 67 QTcpSocket* _clkSocket; 67 QTcpSocket* _outSocket; 68 int _outSocketOpenTrial; 69 QDateTime _outSocketOpenTime; 68 t_bnscaster* _caster; 70 69 QFile* _outFile; 71 70 QFile* _logFile; -
trunk/BNS/bns.pro
r928 r1062 24 24 HEADERS = bns.h bnswindow.h bnshlpdlg.h bnshtml.h \ 25 25 bnseph.h bnsutils.h bnsrinex.h bnssp3.h bnsoutf.h \ 26 RTCM/clock_orbit_rtcm.h26 bnscaster.h RTCM/clock_orbit_rtcm.h 27 27 28 28 HEADERS += newmat/controlw.h newmat/include.h newmat/myexcept.h \ … … 32 32 SOURCES = bnsmain.cpp bns.cpp bnswindow.cpp bnshlpdlg.cpp bnshtml.cpp \ 33 33 bnseph.cpp bnsutils.cpp bnsrinex.cpp bnssp3.cpp bnsoutf.cpp \ 34 RTCM/clock_orbit_rtcm.c34 bnscaster.cpp RTCM/clock_orbit_rtcm.c 35 35 36 36 SOURCES += newmat/bandmat.cpp newmat/cholesky.cpp newmat/evalue.cpp \ -
trunk/BNS/bnscaster.h
r1060 r1062 4 4 #include <QtNetwork> 5 5 6 class t_bnscaster {6 class t_bnscaster : public QObject { 7 7 Q_OBJECT 8 8 public: 9 9 t_bnscaster(const QString& mountpoint); 10 ~t_bnscaster();10 virtual ~t_bnscaster(); 11 11 void open(); 12 12 void write(char* buffer, unsigned len); 13 bool used() {return _outSocket;} 13 14 14 15 signals:
Note:
See TracChangeset
for help on using the changeset viewer.