CMS 3D CMS Logo

FWBoolParameterSetter.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWBoolParameterSetter_h
2 #define Fireworks_Core_FWBoolParameterSetter_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWBoolParameterSetter
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Mon Mar 10 11:22:26 CDT 2008
19 //
20 
21 // system include files
22 #include <Rtypes.h>
23 
24 // user include files
27 
28 // forward declarations
29 class TGCheckButton;
30 
32 {
33 
34 public:
36  ~FWBoolParameterSetter() override;
37 
38  // ---------- const member functions ---------------------
39 
40  // ---------- static member functions --------------------
41 
42  // ---------- member functions ---------------------------
43  void attach(FWParameterBase*) override ;
44  TGFrame* build(TGFrame* iParent, bool labelBack = true) override ;
45  void setEnabled(bool) override;
46  void doUpdate();
47 
48 private:
49  FWBoolParameterSetter(const FWBoolParameterSetter&) = delete; // stop default
50 
51  const FWBoolParameterSetter& operator=(const FWBoolParameterSetter&) = delete; // stop default
52 
53  // ---------- member data --------------------------------
55  TGCheckButton* m_widget;
56 };
57 
58 
59 #endif
TGFrame * build(TGFrame *iParent, bool labelBack=true) override
void attach(FWParameterBase *) override
const FWBoolParameterSetter & operator=(const FWBoolParameterSetter &)=delete
void setEnabled(bool) override