CMS 3D CMS Logo

FWViewEnergyScaleEditor.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWViewEnergyScaleEditor_h
2 #define Fireworks_Core_FWViewEnergyScaleEditor_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWViewEnergyScaleEditor
7 //
16 //
17 // Original Author: Alja Mrak-Tadel
18 // Created: Fri Sep 24 18:52:28 CEST 2010
19 //
20 
21 // system include files
22 
23 // user include files
24 #ifndef __CINT__
25 #include <memory>
26 #endif
27 #include "TGFrame.h"
29 
30 class FWViewEnergyScale;
32 class FWParameterBase;
33 class TGCheckButton;
34 
35 // forward declarations
36 
37 class FWViewEnergyScaleEditor : public TGVerticalFrame, public FWParameterSetterEditorBase {
38 public:
39  FWViewEnergyScaleEditor(FWViewEnergyScale* s, TGCompositeFrame* w, bool addAutoScaleControll = true);
40  ~FWViewEnergyScaleEditor() override;
41 
42  // ---------- const member functions ---------------------
43 
44  // ---------- static member functions --------------------
45 
46  // ---------- member functions ---------------------------
47  void setEnabled(bool);
48 
50 
51 private:
52  FWViewEnergyScaleEditor(const FWViewEnergyScaleEditor&); // stop default
53  const FWViewEnergyScaleEditor& operator=(const FWViewEnergyScaleEditor&); // stop default
54 
55  void addParam(FWParameterBase*, const char* title = nullptr);
56 
57  // ---------- member data --------------------------------
58 
60  bool m_enabled;
61 
62 #ifndef __CINT__
63  std::vector<std::shared_ptr<FWParameterSetterBase> > m_setters;
64 #endif
65 };
66 
67 #endif
void addParam(FWParameterBase *, const char *title=nullptr)
T w() const
ClassDefOverride(FWViewEnergyScaleEditor, 0)
const FWViewEnergyScaleEditor & operator=(const FWViewEnergyScaleEditor &)
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
FWViewEnergyScaleEditor(FWViewEnergyScale *s, TGCompositeFrame *w, bool addAutoScaleControll=true)