source:
ntrip/trunk/GnssCenter/monitor/monitor.h@
5452
Last change on this file since 5452 was 5452, checked in by , 11 years ago | |
---|---|
File size: 1.1 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" |
[4836] | 7 | |
[5420] | 8 | namespace GnssCenter { |
[5447] | 9 | class t_worldPlot; |
10 | class t_thriftClient; | |
11 | class t_thriftResult; | |
[5420] | 12 | } |
13 | ||
[5001] | 14 | namespace GnssCenter { |
[4858] | 15 | |
[5452] | 16 | const static QString pluginName = "RTNet Monitor"; |
17 | ||
[5445] | 18 | class t_monitor : public QMainWindow { |
[4836] | 19 | Q_OBJECT |
20 | public: | |
[5445] | 21 | t_monitor(); |
22 | ~t_monitor(); | |
[5012] | 23 | |
[5427] | 24 | void putThriftResults(std::vector<t_thriftResult*>* results); |
[4836] | 25 | |
[5422] | 26 | private slots: |
27 | void slotStartThrift(); | |
[5430] | 28 | void slotStopThrift(); |
[5431] | 29 | void slotThriftFinished(); |
[5429] | 30 | void slotPlotResults(); |
[5422] | 31 | |
[4836] | 32 | private: |
[5429] | 33 | QMutex _mutex; |
[5449] | 34 | QTabWidget* _tabWidget; |
[5427] | 35 | t_worldPlot* _plot; |
36 | t_thriftClient* _thriftClient; | |
37 | std::vector<t_thriftResult*>* _results; | |
[4836] | 38 | }; |
39 | ||
[5445] | 40 | class t_monitorFactory : public QObject, public t_pluginFactoryInterface { |
[5053] | 41 | Q_OBJECT |
42 | Q_INTERFACES(GnssCenter::t_pluginFactoryInterface) | |
43 | public: | |
[5445] | 44 | virtual QWidget* create() {return new t_monitor();} |
[5452] | 45 | virtual QString getName() const {return pluginName;} |
[5053] | 46 | }; |
47 | ||
[5001] | 48 | } // namespace GnssCenter |
[4858] | 49 | |
[4836] | 50 | #endif |
Note:
See TracBrowser
for help on using the repository browser.