source: ntrip/trunk/GnssCenter/map_stations/map_stations.h@ 5430

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