Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
N21-02-25
OnlineMonitoring
viewer
ButtonBank.h
Go to the documentation of this file.
1
#ifndef OM_BUTTONBANK_H
2
#define OM_BUTTONBANK_H
3
#include "RQ_OBJECT.h"
4
#include "TGFrame.h"
5
#include "
OnlineMonitoring/viewer/GUIModelSubscriber.h
"
6
7
class
TGPictureButton;
8
class
TGLayoutHints;
9
class
TTimer;
10
11
namespace
om
12
{
13
class
ButtonBank
:
public
TGCompositeFrame,
public
GUIModelSubscriber
14
{
15
RQ_OBJECT(
"om::ButtonBank"
)
16
17
public
:
18
ButtonBank
(TGWindow*
w
);
19
~ButtonBank
();
20
21
void
Back
();
22
void
Forward
();
23
void
Pause
();
24
void
Resume
();
25
void
Update
();
26
void
Histo
();
27
void
PrintPlot
();
28
29
Bool_t
HandleTimer
(TTimer *
t
);
30
31
///
32
/// Complete the GUIModelDataSubscriber interface
33
///
34
void
GUIModelDataIssue
(
const
GUIModelData
&
d
,
unsigned
int
which);
35
36
private
:
37
TGLayoutHints*
fLhint
;
///< Layout hints
38
TGPictureButton*
fBack
;
///< Move back in plot history
39
TGPictureButton*
fForward
;
///< Move forward in plot history
40
TGPictureButton*
fUpdate
;
///< Update current plot
41
TGPictureButton*
fPause
;
///< Pause automatic updates
42
TGPictureButton*
fResume
;
///< Resume automatic updates
43
TGPictureButton*
fHisto
;
///< Show histogram of 2D contents
44
TGPictureButton*
fPrint
;
///< Print plot to file
45
46
TTimer*
fTimer
;
///< The timer to issue plot auto-refresh
47
48
ClassDef(
ButtonBank
, 0)
49
};
50
}
51
52
#endif
53
////////////////////////////////////////////////////////////////////////
om::ButtonBank::Resume
void Resume()
Definition:
ButtonBank.cxx:97
om::ButtonBank::GUIModelDataIssue
void GUIModelDataIssue(const GUIModelData &d, unsigned int which)
Definition:
ButtonBank.cxx:152
om::GUIModelData
Definition:
GUIModelData.h:32
om::ButtonBank::fForward
TGPictureButton * fForward
Move forward in plot history.
Definition:
ButtonBank.h:39
om::ButtonBank::fBack
TGPictureButton * fBack
Move back in plot history.
Definition:
ButtonBank.h:38
om::ButtonBank::fTimer
TTimer * fTimer
The timer to issue plot auto-refresh.
Definition:
ButtonBank.h:46
om::ButtonBank::ButtonBank
ButtonBank(TGWindow *w)
Definition:
ButtonBank.cxx:14
confusionMatrixTree.t
t
Definition:
confusionMatrixTree.py:203
om::GUIModelSubscriber
Definition:
GUIModelSubscriber.h:11
om::ButtonBank::fPause
TGPictureButton * fPause
Pause automatic updates.
Definition:
ButtonBank.h:41
om::ButtonBank::Update
void Update()
Definition:
ButtonBank.cxx:119
om::ButtonBank::fLhint
TGLayoutHints * fLhint
Layout hints.
Definition:
ButtonBank.h:37
d
Float_t d
Definition:
plot.C:236
om::ButtonBank::fResume
TGPictureButton * fResume
Resume automatic updates.
Definition:
ButtonBank.h:42
om::ButtonBank::PrintPlot
void PrintPlot()
Definition:
ButtonBank.cxx:112
om::ButtonBank::HandleTimer
Bool_t HandleTimer(TTimer *t)
Definition:
ButtonBank.cxx:126
om::ButtonBank::fUpdate
TGPictureButton * fUpdate
Update current plot.
Definition:
ButtonBank.h:40
om::ButtonBank::Forward
void Forward()
Definition:
ButtonBank.cxx:83
om::ButtonBank::~ButtonBank
~ButtonBank()
Definition:
ButtonBank.cxx:140
om::ButtonBank::Back
void Back()
Definition:
ButtonBank.cxx:76
om::ButtonBank::fHisto
TGPictureButton * fHisto
Show histogram of 2D contents.
Definition:
ButtonBank.h:43
GUIModelSubscriber.h
om::ButtonBank
Definition:
ButtonBank.h:13
om::ButtonBank::fPrint
TGPictureButton * fPrint
Print plot to file.
Definition:
ButtonBank.h:44
om::ButtonBank::Pause
void Pause()
Definition:
ButtonBank.cxx:90
w
Float_t w
Definition:
plot.C:20
om
Online Monitoring package header.
Definition:
FEBRateAnalysis.h:14
om::ButtonBank::Histo
void Histo()
Definition:
ButtonBank.cxx:104
Generated on Mon Mar 1 2021 14:14:02 for NOvA by
1.8.11