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