Changeset 6175 in ntrip
- Timestamp:
- Sep 14, 2014, 2:17:38 PM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r6142 r6175 349 349 while (itOrb.hasNext()) { 350 350 const t_orbCorr& orbCorr = itOrb.next(); 351 *_out << "O " <<orbCorr.toString() << endl;351 *_out << orbCorr.toLine() << endl; 352 352 } 353 353 QListIterator<t_clkCorr> itClk(clkCorrections); 354 354 while (itClk.hasNext()) { 355 355 const t_clkCorr& clkCorr = itClk.next(); 356 *_out << "C " <<clkCorr.toString() << endl;356 *_out << clkCorr.toLine() << endl; 357 357 } 358 358 _out->flush(); -
trunk/BNC/src/bnccore.cpp
r6151 r6175 640 640 QTcpSocket* sock = is.next(); 641 641 if (sock->state() == QAbstractSocket::ConnectedState) { 642 if (sock->write(corr.to String().c_str()) == -1) {642 if (sock->write(corr.toLine().c_str()) == -1) { 643 643 delete sock; 644 644 is.remove(); … … 667 667 QTcpSocket* sock = is.next(); 668 668 if (sock->state() == QAbstractSocket::ConnectedState) { 669 if (sock->write(corr.to String().c_str()) == -1) {669 if (sock->write(corr.toLine().c_str()) == -1) { 670 670 delete sock; 671 671 is.remove(); -
trunk/BNC/src/satObs.cpp
r6160 r6175 15 15 // 16 16 //////////////////////////////////////////////////////////////////////////// 17 t_clkCorr::t_clkCorr(const string& str) {17 t_clkCorr::t_clkCorr(const string& line) { 18 18 } 19 19 20 20 // 21 21 //////////////////////////////////////////////////////////////////////////// 22 string t_clkCorr::to String() const {22 string t_clkCorr::toLine() const { 23 23 return "CLK"; 24 24 } … … 35 35 // 36 36 //////////////////////////////////////////////////////////////////////////// 37 t_orbCorr::t_orbCorr(const string& str) {37 t_orbCorr::t_orbCorr(const string& line) { 38 38 } 39 39 40 40 // 41 41 //////////////////////////////////////////////////////////////////////////// 42 string t_orbCorr::to String() const {42 string t_orbCorr::toLine() const { 43 43 return "ORB"; 44 44 } -
trunk/BNC/src/satObs.h
r6158 r6175 60 60 public: 61 61 t_orbCorr(); 62 t_orbCorr(const std::string& str);62 t_orbCorr(const std::string& line); 63 63 t_prn prn() const {return _prn;} 64 64 unsigned short IOD() const {return _iod;} 65 std::string to String() const;65 std::string toLine() const; 66 66 std::string _staID; 67 67 t_prn _prn; … … 76 76 public: 77 77 t_clkCorr(); 78 t_clkCorr(const std::string& str);78 t_clkCorr(const std::string& line); 79 79 t_prn prn() const {return _prn;} 80 80 unsigned short IOD() const {return _iod;} 81 std::string to String() const;81 std::string toLine() const; 82 82 std::string _staID; 83 83 t_prn _prn;
Note:
See TracChangeset
for help on using the changeset viewer.