source: ntrip/trunk/GnssCenter/monitor/monitor.h@ 5443

Last change on this file since 5443 was 5443, checked in by mervart, 11 years ago
File size: 1.0 KB
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();
[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]38class 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.