source:
ntrip/trunk/GnssCenter/monitor/monitor.h@
5460
| Last change on this file since 5460 was 5457, checked in by , 12 years ago | |
|---|---|
| File size: 1.2 KB | |
| Rev | Line | |
|---|---|---|
| [5445] | 1 | #ifndef GnssCenter_MONITOR_H |
| 2 | #define GnssCenter_MONITOR_H | |
| [4836] | 3 | |
| 4 | #include <QtGui> | |
| 5 | #include <QWhatsThis> | |
| [5011] | 6 | #include "plugininterface.h" |
| [5456] | 7 | #include "const.h" |
| [4836] | 8 | |
| [5420] | 9 | namespace GnssCenter { |
| [5447] | 10 | class t_worldPlot; |
| 11 | class t_thriftClient; | |
| 12 | class t_thriftResult; | |
| [5420] | 13 | } |
| 14 | ||
| [5001] | 15 | namespace GnssCenter { |
| [4858] | 16 | |
| [5445] | 17 | class t_monitor : public QMainWindow { |
| [4836] | 18 | Q_OBJECT |
| 19 | public: | |
| [5445] | 20 | t_monitor(); |
| 21 | ~t_monitor(); | |
| [5012] | 22 | |
| [5427] | 23 | void putThriftResults(std::vector<t_thriftResult*>* results); |
| [4836] | 24 | |
| [5422] | 25 | private slots: |
| [5455] | 26 | void slotConfig(); |
| [5422] | 27 | void slotStartThrift(); |
| [5430] | 28 | void slotStopThrift(); |
| [5431] | 29 | void slotThriftFinished(); |
| [5429] | 30 | void slotPlotResults(); |
| [5422] | 31 | |
| [4836] | 32 | private: |
| [5457] | 33 | void setTitle(); |
| [5429] | 34 | QMutex _mutex; |
| [5449] | 35 | QTabWidget* _tabWidget; |
| [5455] | 36 | QAction* _actConfig; |
| 37 | QAction* _actStartThrift; | |
| 38 | QAction* _actStopThrift; | |
| [5427] | 39 | t_worldPlot* _plot; |
| 40 | t_thriftClient* _thriftClient; | |
| 41 | std::vector<t_thriftResult*>* _results; | |
| [4836] | 42 | }; |
| 43 | ||
| [5445] | 44 | class t_monitorFactory : public QObject, public t_pluginFactoryInterface { |
| [5053] | 45 | Q_OBJECT |
| 46 | Q_INTERFACES(GnssCenter::t_pluginFactoryInterface) | |
| 47 | public: | |
| [5445] | 48 | virtual QWidget* create() {return new t_monitor();} |
| [5452] | 49 | virtual QString getName() const {return pluginName;} |
| [5053] | 50 | }; |
| 51 | ||
| [5001] | 52 | } // namespace GnssCenter |
| [4858] | 53 | |
| [4836] | 54 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
