Changeset 5716 in ntrip


Ignore:
Timestamp:
Jul 31, 2014, 12:17:11 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
4 edited

Legend:

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

    r5715 r5716  
    4949//////////////////////////////////////////////////////////////////////////////
    5050t_pppMain::t_pppMain() {
    51   readOptions();
    5251}
    5352
     
    5554//////////////////////////////////////////////////////////////////////////////
    5655t_pppMain::~t_pppMain() {
     56}
     57
     58//
     59//////////////////////////////////////////////////////////////////////////////
     60void t_pppMain::start() {
     61  readOptions();
     62}
     63
     64//
     65//////////////////////////////////////////////////////////////////////////////
     66void t_pppMain::stop() {
    5767}
    5868
  • trunk/BNC/src/PPP/pppMain.h

    r5714 r5716  
    1010 public:
    1111  t_pppMain();                                                     
    12   ~t_pppMain();                                                     
     12  ~t_pppMain();
     13  void start();                                                     
     14  void stop();                                                     
    1315
    1416 private:
  • trunk/BNC/src/bncwindow.cpp

    r5705 r5716  
    7373#endif
    7474
     75#include "PPP/pppMain.h"
     76
     77using namespace BNC;
    7578using namespace std;
    7679
     
    97100  _runningPostProcessingReqc = false;
    98101  _postProcessing            = 0;
     102  _pppMain                   = new t_pppMain();
    99103
    100104  _pppSPPComboBox     = 0; // necessary for enableStartStop()
     
    481485  _mountPointsTable->horizontalHeader()->setStretchLastSection(true);
    482486  _mountPointsTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);
    483 _mountPointsTable->setHorizontalHeaderLabels(labels);
     487  _mountPointsTable->setHorizontalHeaderLabels(labels);
    484488  _mountPointsTable->setGridStyle(Qt::NoPen);
    485489  _mountPointsTable->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     
    15261530  delete _caster;
    15271531  delete _casterEph;
     1532  delete _pppMain;
    15281533}
    15291534
     
    20042009    startRealTime();
    20052010  }
     2011  if (_pppMain) {
     2012    _pppMain->start();
     2013  }
    20062014}
    20072015
     
    21012109  if (_postProcessing) {
    21022110    _postProcessing->terminate();
     2111  }
     2112
     2113  if (_pppMain) {
     2114    _pppMain->stop();
    21032115  }
    21042116
  • trunk/BNC/src/bncwindow.h

    r5692 r5716  
    5656class bncMapWin;
    5757class t_postProcessing;
     58
     59namespace BNC {
     60class t_pppMain;
     61}
    5862
    5963class bncWindow : public QMainWindow {
     
    275279
    276280    t_pppWidgets         _pppWidgets;
     281    BNC::t_pppMain*      _pppMain;
    277282};
    278283
Note: See TracChangeset for help on using the changeset viewer.