Changeset 5813 in ntrip
- Timestamp:
- Aug 6, 2014, 11:51:11 AM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/PPP/pppMain.cpp ¶
r5810 r5813 73 73 while (iOpt.hasNext()) { 74 74 const t_pppOptions* opt = iOpt.next(); 75 t_ppp Include.hread* pppInclude.hread = new t_pppInclude.hread(opt);76 ppp Include.hread->start();77 _ppp Include.hreads << pppInclude.hread;75 t_pppThread* pppThread = new t_pppThread(opt); 76 pppThread->start(); 77 _pppThreads << pppThread; 78 78 _running = true; 79 79 } … … 92 92 } 93 93 94 QListIterator<t_ppp Include.hread*> it(_pppInclude.hreads);94 QListIterator<t_pppThread*> it(_pppThreads); 95 95 while (it.hasNext()) { 96 t_ppp Include.hread* pppInclude.hread = it.next();97 ppp Include.hread->exit();98 } 99 _ppp Include.hreads.clear();96 t_pppThread* pppThread = it.next(); 97 pppThread->exit(); 98 } 99 _pppThreads.clear(); 100 100 101 101 QListIterator<t_pppOptions*> iOpt(_options); -
TabularUnified trunk/BNC/src/PPP/pppMain.h ¶
r5810 r5813 4 4 #include <QtCore> 5 5 #include "pppOptions.h" 6 #include "ppp Include.hread.h"6 #include "pppThread.h" 7 7 8 8 namespace BNC { … … 18 18 void readOptions(); 19 19 20 QList<t_pppOptions*> 21 QList<t_ppp Include.hread*>_pppInclude.hreads;22 QString _logFile; 23 QString _nmeaFile; 24 int _nmeaPort; 25 bool _running; 20 QList<t_pppOptions*> _options; 21 QList<t_pppThread*> _pppThreads; 22 QString _logFile; 23 QString _nmeaFile; 24 int _nmeaPort; 25 bool _running; 26 26 }; 27 27 -
TabularUnified trunk/BNC/src/PPP/pppThread.cpp ¶
r5810 r5813 28 28 * ------------------------------------------------------------------------- 29 29 * 30 * Class: t_ppp Include.hread, t_pppRun30 * Class: t_pppThread, t_pppRun 31 31 * 32 32 * Purpose: Single PPP Client (running in its own thread) … … 46 46 #include <map> 47 47 48 #include "ppp Include.hread.h"48 #include "pppThread.h" 49 49 #include "bnccore.h" 50 50 … … 54 54 // Constructor 55 55 //////////////////////////////////////////////////////////////////////////// 56 t_ppp Include.hread::t_pppInclude.hread(const t_pppOptions* opt) : QThread(0) {56 t_pppThread::t_pppThread(const t_pppOptions* opt) : QThread(0) { 57 57 _opt = opt; 58 58 _pppRun = 0; … … 65 65 // Destructor 66 66 //////////////////////////////////////////////////////////////////////////// 67 t_ppp Include.hread::~t_pppInclude.hread() {67 t_pppThread::~t_pppThread() { 68 68 delete _pppRun; 69 69 } … … 71 71 // Run (virtual) 72 72 //////////////////////////////////////////////////////////////////////////// 73 void t_ppp Include.hread::run() {73 void t_pppThread::run() { 74 74 try { 75 75 _pppRun = new t_pppRun(_opt); -
TabularUnified trunk/BNC/src/PPP/pppThread.h ¶
r5810 r5813 47 47 }; 48 48 49 class t_ppp Include.hread : public QThread {49 class t_pppThread : public QThread { 50 50 Q_OBJECT 51 51 public: 52 t_ppp Include.hread(const t_pppOptions* opt);53 ~t_ppp Include.hread();52 t_pppThread(const t_pppOptions* opt); 53 ~t_pppThread(); 54 54 virtual void run(); 55 55 -
TabularUnified trunk/BNC/src/bncantex.h ¶
r5755 r5813 31 31 #include "bncconst.h" 32 32 #include "bnctime.h" 33 #include "PPP/ppp.h" 33 #include "PPP/pppInclude.h" 34 34 35 35 class bncAntex { -
TabularUnified trunk/BNC/src/bncwindow.h ¶
r5729 r5813 31 31 #include "bncgetthread.h" 32 32 #include "bnccaster.h" 33 #include "PPP/ppp widgets.h"33 #include "PPP/pppWidgets.h" 34 34 35 35 class bncAboutDlg : public QDialog { -
TabularUnified trunk/BNC/src/ephemeris.cpp ¶
r5789 r5813 12 12 #include "bnctime.h" 13 13 #include "bnccore.h" 14 #include "PPP/ppp.h" 14 #include "PPP/pppInclude.h" 15 15 16 16 using namespace BNC;
Note:
See TracChangeset
for help on using the changeset viewer.