GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4MBSViewer.h
Go to the documentation of this file.
1 // $Id: TGo4MBSViewer.h 778 2011-08-02 08:41:33Z adamczew $
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 für 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 <QMovie>
21 #include <QTime>
22 
23 #include "sys_def.h"
24 #include "sbs_def.h"
25 #include "s_daqst.h"
26 #include "s_setup.h"
27 #include "ml_def.h"
28 #include "s_set_ml.h"
29 #include "s_set_mo.h"
30 
31 
32 extern "C"
33 {
38  INTS4 f_ut_seg_show (s_daqst *ps_daqst, s_setup *ps_setup, s_set_ml *ps_set_ml, s_set_mo *ps_set_mo);;
39 }
40 
41 class QButtonGroup;
42 class TH1;
43 
44 class TGo4MBSViewer : public QGo4Widget, public Ui::TGo4MBSViewer
45  {
46  Q_OBJECT
47 
48  public:
49  TGo4MBSViewer(QWidget *parent = 0 , const char* name=0);
50  virtual ~TGo4MBSViewer();
51 
52  TH1* TrendHisto( QString & refname ,const QString & name, const QString & title, int value);
53 
54 
55 
56  public slots:
57 
58 
59  virtual void StoreSettings();
60 
61  virtual void TimerStart();
62 
63  virtual void TimerStop();
64 
65  virtual void Display();
66 
67  virtual void Refresh();
68 
69  virtual void NodeEditEnter();
70 
71  virtual void NodeChanged( const QString & txt );
72 
73  virtual void ShowStatus();
74 
75  virtual void StateGroup_clicked( int id);
76 
77  virtual void PrintStatus();
78 
79  virtual void TrendSwitched( bool on );
80 
81  virtual void UpdateTrending();
82 
83  virtual void IncTrending( TH1 * histo, int value, bool forwards );
84 
85  virtual void FrequencyBox_valueChanged( int );
86 
87  virtual void MoreBox_toggled( bool on);
88 
89  virtual void TrendBinsBox_valueChanged( int i);
90 
91  virtual void RefreshButtonClick();
92 
93  virtual void SetNode( const QString & txt );
94 
95  virtual void ResetRunIcon();
96 
97  virtual void StartMovieReset();
98 
99 protected:
100 
106  bool fbRunning;
114  QString fxRefTime;
116  QString fxMessage;
120  QString fxNode;
121  QTimer* fxTimer;
124  QMovie* fxRunMovie;
131  TH1* fxEvRatio;
132  QString fxServerLabel;
140  QButtonGroup* StateGroup;
141 
142 
143  };
144 
145 #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()
INTS4 f_ut_seg_show(s_daqst *ps_daqst, s_setup *ps_setup, s_set_ml *ps_set_ml, s_set_mo *ps_set_mo)
Definition: f_ut_seg_show.c:51
virtual void PrintStatus()
virtual void TrendSwitched(bool on)
TH1 * TrendHisto(QString &refname, const QString &name, const QString &title, int value)
INTS4 f_mbs_ml_setup(CHARS *, s_set_ml *)
Definition: f_mbs_status.c:132
QString fxHistoAccessName
QString fxMessage
virtual void StoreSettings()
virtual void FrequencyBox_valueChanged(int)
virtual void TrendBinsBox_valueChanged(int i)
bool fbTrendingForward
QButtonGroup * StateGroup
virtual void UpdateTrending()
s_set_mo fxSetupMO
int INTS4
Definition: typedefs.h:28
virtual void IncTrending(TH1 *histo, int value, bool forwards)
virtual void SetNode(const QString &txt)
virtual void RefreshButtonClick()
virtual void Refresh()
QString fxHistokBAccessName
TGo4MBSViewer(QWidget *parent=0, const char *name=0)
virtual void NodeEditEnter()
s_set_ml fxSetupML
INTS4 f_mbs_setup(CHARS *, s_setup *)
Definition: f_mbs_status.c:87
INTS4 f_mbs_status(CHARS *, s_daqst *)
Definition: f_mbs_status.c:55
virtual ~TGo4MBSViewer()
virtual void ResetRunIcon()
s_daqst fxDaqStat
INTS4 f_mbs_mo_setup(CHARS *, s_set_mo *)
Definition: f_mbs_status.c:175
QTimer * fxMovieResetTimer
char CHARS
Definition: typedefs.h:21
virtual void NodeChanged(const QString &txt)
virtual void TimerStart()
virtual void ShowStatus()
QString fxRefTime