00001 #ifndef Fireworks_Core_FWLongParameterSetter_h 00002 #define Fireworks_Core_FWLongParameterSetter_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Core 00006 // Class : FWLongParameterSetter 00007 // 00016 // 00017 // Original Author: Chris Jones 00018 // Created: Mon Mar 10 11:22:26 CDT 2008 00019 // $Id: FWLongParameterSetter.h,v 1.5 2011/02/11 19:56:36 amraktad Exp $ 00020 // 00021 00022 // system include files 00023 #include <Rtypes.h> 00024 00025 // user include files 00026 #include "Fireworks/Core/interface/FWParameterSetterBase.h" 00027 #include "Fireworks/Core/interface/FWLongParameter.h" 00028 00029 // forward declarations 00030 class TGNumberEntry; 00031 00032 class FWLongParameterSetter : public FWParameterSetterBase 00033 { 00034 00035 public: 00036 FWLongParameterSetter(); 00037 virtual ~FWLongParameterSetter(); 00038 00039 // ---------- const member functions --------------------- 00040 00041 // ---------- static member functions -------------------- 00042 00043 // ---------- member functions --------------------------- 00044 virtual void attach(FWParameterBase*) ; 00045 virtual TGFrame* build(TGFrame* iParent, bool labelBack = true) ; 00046 void doUpdate(Long_t); 00047 00048 private: 00049 FWLongParameterSetter(const FWLongParameterSetter&); // stop default 00050 00051 const FWLongParameterSetter& operator=(const FWLongParameterSetter&); // stop default 00052 00053 // ---------- member data -------------------------------- 00054 FWLongParameter* m_param; 00055 TGNumberEntry* m_widget; 00056 }; 00057 00058 00059 #endif