- Timestamp:
- Jan 24, 2012, 11:56:41 AM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpostprocess.cpp
r3643 r3644 61 61 } 62 62 63 // Write a Program Message 64 //////////////////////////////////////////////////////////////////////////// 65 void t_postProcessing::slotMessage(QByteArray msg, bool /* showOnScreen */) { 66 cout << msg.data(); 67 } 68 63 69 // 64 70 //////////////////////////////////////////////////////////////////////////// 65 71 void t_postProcessing::run() { 66 72 67 if (!_pppClient) { 73 if (_pppClient) { 74 return; 75 } 76 else { 68 77 _pppClient = new bncPPPclient("POST", _opt, false); 78 79 connect(this, SIGNAL(newEphGPS(gpsephemeris)), 80 _pppClient, SLOT(slotNewEphGPS(gpsephemeris)), Qt::DirectConnection); 81 82 connect(this, SIGNAL(newEphGlonass(glonassephemeris)), 83 _pppClient, SLOT(slotNewEphGlonass(glonassephemeris)), Qt::DirectConnection); 84 85 connect(this, SIGNAL(newEphGalileo(galileoephemeris)), 86 _pppClient, SLOT(slotNewEphGalileo(galileoephemeris)), Qt::DirectConnection); 87 88 connect(this, SIGNAL(newCorrections(QList<QString>)), 89 _pppClient, SLOT(slotNewCorrections(QList<QString>))); 90 91 connect(_pppClient, SIGNAL(newMessage(QByteArray,bool)), 92 this, SLOT(slotMessage(const QByteArray,bool))); 69 93 } 70 94 -
trunk/BNC/bncpostprocess.h
r3643 r3644 28 28 #include <QtCore> 29 29 #include "bncconst.h" 30 extern "C" { 31 #include "rtcm3torinex.h" 32 } 30 33 31 34 class t_pppOpt; … … 44 47 void progress(float); 45 48 void finished(); 49 void newEphGPS(gpsephemeris gpseph); 50 void newEphGlonass(glonassephemeris glonasseph); 51 void newEphGalileo(galileoephemeris galileoeph); 52 void newCorrections(QList<QString>); 46 53 54 public slots: 55 void slotMessage(QByteArray msg, bool showOnScreen); 56 47 57 public: 48 58 virtual void run();
Note:
See TracChangeset
for help on using the changeset viewer.