Changeset 2113 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Dec 15, 2009, 10:02:11 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2108 r2113 39 39 * -----------------------------------------------------------------------*/ 40 40 41 #include <iomanip>42 #include <newmatio.h>43 #include <sstream>44 45 41 #include "bncpppclient.h" 42 #include "bncapp.h" 46 43 #include "bncutils.h" 47 44 #include "bncconst.h" … … 57 54 //////////////////////////////////////////////////////////////////////////// 58 55 bncPPPclient::bncPPPclient(QByteArray staID) { 56 57 connect(((bncApp*)qApp), SIGNAL(newEphGPS(gpsephemeris)), 58 this, SLOT(slotNewEphGPS(gpsephemeris))); 59 connect(((bncApp*)qApp), SIGNAL(newCorrections(QList<QString>)), 60 this, SLOT(slotNewCorrections(QList<QString>))); 61 59 62 _staID = staID; 60 63 _epoData = 0; 61 _model = new bncModel( );64 _model = new bncModel(staID); 62 65 } 63 66 … … 333 336 return; 334 337 } 335 336 ostringstream str; 337 str.setf(ios::fixed); 338 str << " PPP " << _staID.data() << " " 339 << _epoData->tt.timestr(1) << " " << _epoData->size() << " " 340 << setw(14) << setprecision(3) << _model->x() << " " 341 << setw(14) << setprecision(3) << _model->y() << " " 342 << setw(14) << setprecision(3) << _model->z() << " " 343 << setw(8) << setprecision(3) << _model->clk() << " " 344 << setw(8) << setprecision(3) << _model->trp(); 345 346 emit newMessage(QString(str.str().c_str()).toAscii(), true); 347 } 348 338 } 339
Note:
See TracChangeset
for help on using the changeset viewer.