Ignore:
Timestamp:
Sep 13, 2013, 10:41:49 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/monitor.cpp

    r5443 r5445  
    11
    22/* -------------------------------------------------------------------------
    3  * RTNet GUI
     3 * RTNet Monitor
    44 * -------------------------------------------------------------------------
    55 *
    6  * Class:      t_map_stations
     6 * Class:      t_monitor
    77 *
    8  * Purpose:    Plot map of stations/satellites
     8 * Purpose:    Real-Time Monitoring of RTNet
    99 *
    1010 * Author:     L. Mervart
     
    2828#include <qwt_plot_renderer.h>
    2929
    30 #include "map_stations.h"
     30#include "monitor.h"
    3131#include "utils.h"
    3232#include "worldplot.h"
     
    3636using namespace GnssCenter;
    3737
    38 Q_EXPORT_PLUGIN2(gnsscenter_map_stations, GnssCenter::t_map_stationsFactory)
     38Q_EXPORT_PLUGIN2(gnsscenter_monitor, GnssCenter::t_monitorFactory)
    3939
    4040// Constructor
    4141/////////////////////////////////////////////////////////////////////////////
    42 t_map_stations::t_map_stations() : QMainWindow() {
     42t_monitor::t_monitor() : QMainWindow() {
    4343
    4444  // World Plot
     
    4949  // Tool Bar
    5050  // --------
    51   QToolBar* toolBar = new QToolBar("t_map_stations_ToolBar");
     51  QToolBar* toolBar = new QToolBar("t_monitor_ToolBar");
    5252  addToolBar(Qt::BottomToolBarArea, toolBar);
    5353
     
    6868// Destructor
    6969/////////////////////////////////////////////////////////////////////////////
    70 t_map_stations::~t_map_stations() {
     70t_monitor::~t_monitor() {
    7171  slotStopThrift();
    7272  if (_results) {
     
    8181//
    8282/////////////////////////////////////////////////////////////////////////////
    83 void t_map_stations::slotStartThrift() {
     83void t_monitor::slotStartThrift() {
    8484  if (!_thriftClient) {
    8585    _thriftClient = new t_thriftClient(this);
     
    9292//
    9393/////////////////////////////////////////////////////////////////////////////
    94 void t_map_stations::slotStopThrift() {
     94void t_monitor::slotStopThrift() {
    9595  if (_thriftClient) {
    9696    _thriftClient->stop();
     
    101101//
    102102/////////////////////////////////////////////////////////////////////////////
    103 void t_map_stations::slotThriftFinished() {
     103void t_monitor::slotThriftFinished() {
    104104  sender()->deleteLater();
    105105  _thriftClient = 0;
     
    108108//
    109109/////////////////////////////////////////////////////////////////////////////
    110 void t_map_stations::putThriftResults(std::vector<t_thriftResult*>* results) {
     110void t_monitor::putThriftResults(std::vector<t_thriftResult*>* results) {
    111111  QMutexLocker locker(&_mutex);
    112112  if (_results) {
     
    122122//
    123123/////////////////////////////////////////////////////////////////////////////
    124 void t_map_stations::slotPlotResults() {
     124void t_monitor::slotPlotResults() {
    125125  QMutexLocker locker(&_mutex);
    126126
Note: See TracChangeset for help on using the changeset viewer.