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
RevLine 
[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]8namespace GnssCenter {
9class t_worldPlot;
10}
11
[5407]12class t_thriftClient;
[5416]13class t_thriftResult;
[4836]14
[5001]15namespace GnssCenter {
[4858]16
[5420]17class 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();
[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
[5406]37class t_map_stationsFactory : public QObject, public t_pluginFactoryInterface {
[5053]38 Q_OBJECT
39 Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
40 public:
[5406]41 virtual QWidget* create() {return new t_map_stations();}
[5407]42 virtual QString getName() const {return QString("Map of Stations");}
[5053]43};
44
[5001]45} // namespace GnssCenter
[4858]46
[4836]47#endif
Note: See TracBrowser for help on using the repository browser.