Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-03 04:10:00

0001 #ifndef Fireworks_Core_FWDoubleParameterSetter_h
0002 #define Fireworks_Core_FWDoubleParameterSetter_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWDoubleParameterSetter
0007 //
0008 /**\class FWDoubleParameterSetter FWDoubleParameterSetter.h Fireworks/Core/interface/FWDoubleParameterSetter.h
0009 
0010    Description: <one line class summary>
0011 
0012    Usage:
0013     <usage>
0014 
0015  */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Mon Mar 10 11:22:26 CDT 2008
0019 //
0020 
0021 // system include files
0022 #include <Rtypes.h>
0023 
0024 // user include files
0025 #include "Fireworks/Core/interface/FWParameterSetterBase.h"
0026 #include "Fireworks/Core/interface/FWDoubleParameter.h"
0027 
0028 // forward declarations
0029 class TGNumberEntry;
0030 
0031 class FWDoubleParameterSetter : public FWParameterSetterBase {
0032 public:
0033   FWDoubleParameterSetter();
0034   ~FWDoubleParameterSetter() override;
0035 
0036   // ---------- const member functions ---------------------
0037 
0038   // ---------- static member functions --------------------
0039 
0040   // ---------- member functions ---------------------------
0041   void attach(FWParameterBase*) override;
0042   TGFrame* build(TGFrame* iParent, bool labelBack = true) override;
0043 
0044   void setEnabled(bool) override;
0045 
0046   void doUpdate(Long_t);
0047 
0048   FWDoubleParameterSetter(const FWDoubleParameterSetter&) = delete;  // stop default
0049 
0050   const FWDoubleParameterSetter& operator=(const FWDoubleParameterSetter&) = delete;  // stop default
0051 
0052 private:
0053   // ---------- member data --------------------------------
0054   FWDoubleParameter* m_param;
0055   TGNumberEntry* m_widget;
0056 };
0057 
0058 #endif