CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: FWViewEnergyScaleEditor.h,v 1.3 2012/08/01 00:41:36 amraktad Exp $
20 //
21 
22 // system include files
23 
24 // user include files
25 #ifndef __CINT__
26 #include <boost/shared_ptr.hpp>
27 #endif
28 #include "TGFrame.h"
30 
31 class FWViewEnergyScale;
33 class FWParameterBase;
34 class TGCheckButton;
35 
36 // forward declarations
37 
38 class FWViewEnergyScaleEditor : public TGVerticalFrame, public FWParameterSetterEditorBase
39 {
40 public:
41  FWViewEnergyScaleEditor( FWViewEnergyScale* s, TGCompositeFrame* w, bool addAutoScaleControll = true);
42  virtual ~FWViewEnergyScaleEditor();
43 
44  // ---------- const member functions ---------------------
45 
46  // ---------- static member functions --------------------
47 
48  // ---------- member functions ---------------------------
49  void setEnabled(bool);
50 
52 
53 private:
54  FWViewEnergyScaleEditor(const FWViewEnergyScaleEditor&); // stop default
55  const FWViewEnergyScaleEditor& operator=(const FWViewEnergyScaleEditor&); // stop default
56 
57  void addParam(FWParameterBase*, const char* title = 0);
58 
59  // ---------- member data --------------------------------
60 
62  bool m_enabled;
63 
64 #ifndef __CINT__
65  std::vector<boost::shared_ptr<FWParameterSetterBase> > m_setters;
66 #endif
67 };
68 
69 
70 #endif
const FWViewEnergyScaleEditor & operator=(const FWViewEnergyScaleEditor &)
ClassDef(FWViewEnergyScaleEditor, 0)
std::vector< boost::shared_ptr< FWParameterSetterBase > > m_setters
FWViewEnergyScaleEditor(FWViewEnergyScale *s, TGCompositeFrame *w, bool addAutoScaleControll=true)
void addParam(FWParameterBase *, const char *title=0)
T w() const