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 public:
34  ~FWBoolParameterSetter() override;
35 
36  // ---------- const member functions ---------------------
37 
38  // ---------- static member functions --------------------
39 
40  // ---------- member functions ---------------------------
41  void attach(FWParameterBase*) override;
42  TGFrame* build(TGFrame* iParent, bool labelBack = true) override;
43  void setEnabled(bool) override;
44  void doUpdate();
45 
46  FWBoolParameterSetter(const FWBoolParameterSetter&) = delete; // stop default
47 
48  const FWBoolParameterSetter& operator=(const FWBoolParameterSetter&) = delete; // stop default
49 
50 private:
51  // ---------- member data --------------------------------
53  TGCheckButton* m_widget;
54 };
55 
56 #endif
TGFrame * build(TGFrame *iParent, bool labelBack=true) override
void attach(FWParameterBase *) override
const FWBoolParameterSetter & operator=(const FWBoolParameterSetter &)=delete
void setEnabled(bool) override