GUIModelData.h
Go to the documentation of this file.
1 #ifndef OM_GUIMODELDATA_H
2 #define OM_GUIMODELDATA_H
6 #include <string>
7 
8 namespace om
9 {
10 
11  ///
12  /// Define codes so subscribers can tell which pieces of information
13  /// they want to receive updates about
14  ///
15  static const unsigned int kCurrentHistogramID = 1<<0;
16  static const unsigned int kHistogramInfoTextID = 1<<1;
17  static const unsigned int kPlotViewRefreshID = 1<<2;
18  static const unsigned int kPlotViewRefreshPausedID = 1<<3;
19  static const unsigned int kPlotViewRefreshRateID = 1<<4;
20  static const unsigned int kHistogramCSVFileID = 1<<5;
21  static const unsigned int kComparisonOptionsID = 1<<6;
22  static const unsigned int kHistogramSourceID = 1<<7;
23  static const unsigned int kTickID = 1<<8;
24  static const unsigned int kComparisonUpdateID = 1<<9;
25  static const unsigned int kDetectorID = 1<<10;
26  static const unsigned int kWatchListUpdateID = 1<<11;
27  static const unsigned int kPrintID = 1<<12;
28  static const unsigned int kRefFileInitID = 1<<13;
29  ///
30  /// All the data that controls what user sees on the gui
31  ///
32  class GUIModelData {
33  public:
38  unsigned int fPlotViewRefreshRate;
42  unsigned int fContentProjection;
43  public:
44  GUIModelData();
45  void SetCSVFile(std::string v);
46  };
47 }
48 
49 #endif
50 ////////////////////////////////////////////////////////////////////////
std::string fHistoCSVFile
Definition: GUIModelData.h:40
static const unsigned int kWatchListUpdateID
Definition: GUIModelData.h:26
static const unsigned int kRefFileInitID
Definition: GUIModelData.h:28
static const unsigned int kCurrentHistogramID
Definition: GUIModelData.h:15
void SetCSVFile(std::string v)
Detector_t fDetector
Definition: GUIModelData.h:34
static const unsigned int kHistogramInfoTextID
Definition: GUIModelData.h:16
static const unsigned int kTickID
Definition: GUIModelData.h:23
std::string fHistogramInfoText
Definition: GUIModelData.h:36
static const unsigned int kPrintID
Definition: GUIModelData.h:27
static const unsigned int kComparisonUpdateID
Definition: GUIModelData.h:24
ComparisonOptions fComparisonOpt
Definition: GUIModelData.h:41
static const unsigned int kPlotViewRefreshRateID
Definition: GUIModelData.h:19
static const unsigned int kHistogramCSVFileID
Definition: GUIModelData.h:20
bool fPlotViewRefreshPaused
Definition: GUIModelData.h:39
unsigned int fPlotViewRefreshRate
Definition: GUIModelData.h:38
static const unsigned int kPlotViewRefreshPausedID
Definition: GUIModelData.h:18
static const unsigned int kComparisonOptionsID
Definition: GUIModelData.h:21
static const unsigned int kHistogramSourceID
Definition: GUIModelData.h:22
std::string fHistogramSource
Definition: GUIModelData.h:35
CurrentHistogram fCurrentHistogram
Definition: GUIModelData.h:37
unsigned int fContentProjection
Definition: GUIModelData.h:42
static const unsigned int kDetectorID
Definition: GUIModelData.h:25
enum om::_det_types Detector_t
Online Monitoring package header.
static const unsigned int kPlotViewRefreshID
Definition: GUIModelData.h:17
enum BeamMode string