Changeset 2054 in ntrip
- Timestamp:
- Nov 29, 2009, 11:39:33 AM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/bncgetthread.cpp ¶
r2035 r2054 292 292 connect(((bncApp*)qApp), SIGNAL(newCorrections(QList<QString>)), 293 293 _PPPclient, SLOT(slotNewCorrections(QList<QString>))); 294 connect(_PPPclient, SIGNAL(newMessage(QByteArray,bool)), 295 ((bncApp*)qApp), SLOT(slotMessage(const QByteArray,bool))); 294 296 } 295 297 -
TabularUnified trunk/BNC/bncpppclient.cpp ¶
r2053 r2054 41 41 #include <iomanip> 42 42 #include <newmatio.h> 43 #include <sstream> 43 44 44 45 #include "bncpppclient.h" … … 328 329 bancroft(BB, pos); 329 330 330 cout.setf(ios::fixed); 331 332 cout << _epoData->tt.timestr(1) << " " << _epoData->size() << " " 333 << setw(14) << setprecision(3) << pos(1) << " " 334 << setw(14) << setprecision(3) << pos(2) << " " 335 << setw(14) << setprecision(3) << pos(3) << endl; 336 337 cout.flush(); 338 } 339 331 ostringstream str; 332 str.setf(ios::fixed); 333 str << "PPP " 334 << _epoData->tt.timestr(1) << " " << _epoData->size() << " " 335 << setw(14) << setprecision(3) << pos(1) << " " 336 << setw(14) << setprecision(3) << pos(2) << " " 337 << setw(14) << setprecision(3) << pos(3) << endl; 338 339 emit newMessage(QString(str.str().c_str()).toAscii(), true); 340 } 341
Note:
See TracChangeset
for help on using the changeset viewer.