source:
ntrip/trunk/GnssCenter/map_stations/map_stations.h@
5431
Last change on this file since 5431 was 5431, checked in by , 11 years ago | |
---|---|
File size: 1.0 KB |
Rev | Line | |
---|---|---|
[5406] | 1 | #ifndef GnssCenter_MAP_STATIONS_H |
2 | #define GnssCenter_MAP_STATIONS_H | |
[4836] | 3 | |
4 | #include <QtGui> | |
5 | #include <QWhatsThis> | |
[5011] | 6 | #include "plugininterface.h" |
[4836] | 7 | |
[5420] | 8 | namespace GnssCenter { |
9 | class t_worldPlot; | |
10 | } | |
11 | ||
[5407] | 12 | class t_thriftClient; |
[5416] | 13 | class t_thriftResult; |
[4836] | 14 | |
[5001] | 15 | namespace GnssCenter { |
[4858] | 16 | |
[5420] | 17 | class t_map_stations : public QMainWindow { |
[4836] | 18 | Q_OBJECT |
19 | public: | |
[5406] | 20 | t_map_stations(); |
21 | ~t_map_stations(); | |
[5012] | 22 | |
[5427] | 23 | void putThriftResults(std::vector<t_thriftResult*>* results); |
[4836] | 24 | |
[5422] | 25 | private slots: |
26 | void slotStartThrift(); | |
[5430] | 27 | void slotStopThrift(); |
[5431] | 28 | void slotThriftFinished(); |
[5429] | 29 | void slotPlotResults(); |
[5422] | 30 | |
[4836] | 31 | private: |
[5429] | 32 | QMutex _mutex; |
[5427] | 33 | t_worldPlot* _plot; |
34 | t_thriftClient* _thriftClient; | |
35 | std::vector<t_thriftResult*>* _results; | |
[4836] | 36 | }; |
37 | ||
[5406] | 38 | class t_map_stationsFactory : public QObject, public t_pluginFactoryInterface { |
[5053] | 39 | Q_OBJECT |
40 | Q_INTERFACES(GnssCenter::t_pluginFactoryInterface) | |
41 | public: | |
[5406] | 42 | virtual QWidget* create() {return new t_map_stations();} |
[5407] | 43 | virtual QString getName() const {return QString("Map of Stations");} |
[5053] | 44 | }; |
45 | ||
[5001] | 46 | } // namespace GnssCenter |
[4858] | 47 | |
[4836] | 48 | #endif |
Note:
See TracBrowser
for help on using the repository browser.