Changeset 5825 in ntrip


Ignore:
Timestamp:
Aug 6, 2014, 1:31:33 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppClient.cpp

    r5823 r5825  
    444444    return finish(failure);
    445445  }
    446   catch (pppExcept msg) {
     446  catch (t_except msg) {
    447447    LOG << msg.what() << endl;
    448448    return finish(failure);
  • trunk/BNC/src/PPP/pppInclude.h

    r5819 r5825  
    1111namespace BNC_PPP {
    1212
    13 class pppExcept {
     13class t_except {
    1414 public:
    15   pppExcept(const char* msg) {
     15  t_except(const char* msg) {
    1616    _msg = msg;
    1717  }
    18   ~pppExcept() {}
     18  ~t_except() {}
    1919  std::string what() {return _msg;}
    2020 private:
     
    9696};
    9797
    98 class t_bias {
     98class t_frqBias {
    9999 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;   
    102111};
    103112
    104 class t_satBiases {
     113class t_satBias {
    105114 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;
    111120};
    112121
  • trunk/BNC/src/PPP/pppMain.cpp

    r5814 r5825  
    7979    }
    8080  }
    81   catch (pppExcept exc) {
     81  catch (t_except exc) {
    8282    _running = true;
    8383    stop();
     
    140140
    141141    if (hlp.size() < 9) {
    142       throw pppExcept("pppMain: wrong option staTable");
     142      throw t_except("pppMain: wrong option staTable");
    143143    }
    144144
  • trunk/BNC/src/PPP/pppThread.cpp

    r5823 r5825  
    7676    QThread::exec();
    7777  }
    78   catch (pppExcept exc) {
     78  catch (t_except exc) {
    7979    _pppRun = 0;
    8080    emit newMessage(QByteArray(exc.what().c_str()), true);
     
    107107  }
    108108  else {
    109     throw pppExcept("t_pppRun: post-processing not yet implemented");
     109    throw t_except("t_pppRun: post-processing not yet implemented");
    110110  }
    111111}
Note: See TracChangeset for help on using the changeset viewer.