- Timestamp:
- Aug 6, 2014, 1:31:33 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r5823 r5825 444 444 return finish(failure); 445 445 } 446 catch ( pppExcept msg) {446 catch (t_except msg) { 447 447 LOG << msg.what() << endl; 448 448 return finish(failure); -
trunk/BNC/src/PPP/pppInclude.h
r5819 r5825 11 11 namespace BNC_PPP { 12 12 13 class pppExcept {13 class t_except { 14 14 public: 15 pppExcept(const char* msg) {15 t_except(const char* msg) { 16 16 _msg = msg; 17 17 } 18 ~ pppExcept() {}18 ~t_except() {} 19 19 std::string what() {return _msg;} 20 20 private: … … 96 96 }; 97 97 98 class t_ bias {98 class t_frqBias { 99 99 public: 100 std::string _rnxType3ch; 101 double _value; 100 t_frqBias() { 101 _code = 0.0; 102 _codeValid = false; 103 _phase = 0.0; 104 _phaseValid = false; 105 } 106 std::string _rnxType2ch; 107 double _code; 108 bool _codeValid; 109 double _phase; 110 bool _phaseValid; 102 111 }; 103 112 104 class t_satBias es{113 class t_satBias { 105 114 public: 106 t_prn _prn;107 bncTime _time;108 int _nx;109 int _jumpCount;110 std::vector<t_ bias> _biases;115 t_prn _prn; 116 bncTime _time; 117 int _nx; 118 int _jumpCount; 119 std::vector<t_frqBias> _bias; 111 120 }; 112 121 -
trunk/BNC/src/PPP/pppMain.cpp
r5814 r5825 79 79 } 80 80 } 81 catch ( pppExcept exc) {81 catch (t_except exc) { 82 82 _running = true; 83 83 stop(); … … 140 140 141 141 if (hlp.size() < 9) { 142 throw pppExcept("pppMain: wrong option staTable");142 throw t_except("pppMain: wrong option staTable"); 143 143 } 144 144 -
trunk/BNC/src/PPP/pppThread.cpp
r5823 r5825 76 76 QThread::exec(); 77 77 } 78 catch ( pppExcept exc) {78 catch (t_except exc) { 79 79 _pppRun = 0; 80 80 emit newMessage(QByteArray(exc.what().c_str()), true); … … 107 107 } 108 108 else { 109 throw pppExcept("t_pppRun: post-processing not yet implemented");109 throw t_except("t_pppRun: post-processing not yet implemented"); 110 110 } 111 111 }
Note:
See TracChangeset
for help on using the changeset viewer.