Changeset 2054 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Nov 29, 2009, 11:39:33 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.