GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4MBSViewer.h
Go to the documentation of this file.
1 // $Id: TGo4MBSViewer.h 3340 2021-10-18 13:10:25Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4MBSVIEWER_H
15 #define TGO4MBSVIEWER_H
16 
17 #include "QGo4Widget.h"
18 #include "ui_TGo4MBSViewer.h"
19 
20 #include <QElapsedTimer>
21 
22 extern "C" {
23  #include "s_daqst.h"
24  #include "s_setup.h"
25  #include "s_set_ml.h"
26  #include "s_set_mo.h"
27 }
28 
29 class QButtonGroup;
30 class TH1;
31 class QMovie;
32 
33 class TGo4MBSViewer : public QGo4Widget, public Ui::TGo4MBSViewer
34  {
35  Q_OBJECT
36 
37  public:
38  TGo4MBSViewer(QWidget *parent = 0 , const char* name=0);
39  virtual ~TGo4MBSViewer();
40 
41  TH1* TrendHisto( QString & refname ,const QString & name, const QString & title, int value);
42 
43  public slots:
44 
45  virtual void StoreSettings();
46 
47  virtual void TimerStart();
48 
49  virtual void TimerStop();
50 
51  virtual void Display();
52 
53  virtual void Refresh();
54 
55  virtual void NodeEditEnter();
56 
57  virtual void NodeChanged( const QString & txt );
58 
59  virtual void ShowStatus();
60 
61  virtual void StateGroup_clicked( int id);
62 
63  virtual void PrintStatus();
64 
65  virtual void TrendSwitched( bool on );
66 
67  virtual void UpdateTrending();
68 
69  virtual void IncTrending( TH1 * histo, int value, bool forwards );
70 
71  virtual void FrequencyBox_valueChanged( int );
72 
73  virtual void MoreBox_toggled( bool on);
74 
75  virtual void TrendBinsBox_valueChanged( int i);
76 
77  virtual void RefreshButtonClick();
78 
79  virtual void SetNode( const QString & txt );
80 
81  virtual void ResetRunIcon();
82 
83  virtual void StartMovieReset();
84 
85 protected:
86 
92  bool fbRunning;
98  bool fbTrending;
99  bool fbGetSetML;
100  QString fxRefTime;
102  QString fxMessage;
106  QString fxNode;
107  QTimer* fxTimer;
110  QMovie* fxRunMovie;
117  TH1* fxEvRatio;
118  QString fxServerLabel;
125  QElapsedTimer fxDeltaClock;
126  QButtonGroup* StateGroup;
127  };
128 
129 #endif
int fiCalcedServDataRate
QString fxHistoEvRatioAccessName
virtual void StateGroup_clicked(int id)
QMovie * fxRunMovie
virtual void TimerStop()
QTimer * fxTimer
QString fxServerLabel
virtual void MoreBox_toggled(bool on)
virtual void StartMovieReset()
virtual void Display()
virtual void PrintStatus()
virtual void TrendSwitched(bool on)
TH1 * TrendHisto(QString &refname, const QString &name, const QString &title, int value)
QString fxHistoAccessName
Definition: TGo4MBSViewer.h:97
QString fxMessage
virtual void StoreSettings()
virtual void FrequencyBox_valueChanged(int)
virtual void TrendBinsBox_valueChanged(int i)
bool fbTrendingForward
Definition: TGo4MBSViewer.h:93
QButtonGroup * StateGroup
virtual void UpdateTrending()
s_set_mo fxSetupMO
Definition: TGo4MBSViewer.h:91
QElapsedTimer fxDeltaClock
virtual void IncTrending(TH1 *histo, int value, bool forwards)
virtual void SetNode(const QString &txt)
virtual void RefreshButtonClick()
virtual void Refresh()
QString fxHistokBAccessName
Definition: TGo4MBSViewer.h:94
TGo4MBSViewer(QWidget *parent=0, const char *name=0)
virtual void NodeEditEnter()
s_set_ml fxSetupML
virtual ~TGo4MBSViewer()
virtual void ResetRunIcon()
s_daqst fxDaqStat
TH1 * fxRatekBTrend
Definition: TGo4MBSViewer.h:95
QTimer * fxMovieResetTimer
virtual void NodeChanged(const QString &txt)
virtual void TimerStart()
bool fbSingleRefresh
Definition: TGo4MBSViewer.h:87
virtual void ShowStatus()
QString fxRefTime