CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Fireworks/Core/src/FWLongParameterSetter.h

Go to the documentation of this file.
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.6 2012/02/22 03:45:59 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 public:
00035    FWLongParameterSetter();
00036    virtual ~FWLongParameterSetter();
00037 
00038    // ---------- const member functions ---------------------
00039 
00040    // ---------- static member functions --------------------
00041 
00042    // ---------- member functions ---------------------------
00043 
00044    virtual void     attach(FWParameterBase*);
00045    virtual TGFrame* build(TGFrame* iParent, bool labelBack = true);
00046 
00047    void doUpdate(Long_t);
00048 
00049 private:
00050    FWLongParameterSetter(const FWLongParameterSetter&);                  // stop default
00051    const FWLongParameterSetter& operator=(const FWLongParameterSetter&); // stop default
00052 
00053    // ---------- member data --------------------------------
00054 
00055    FWLongParameter* m_param;
00056    TGNumberEntry*   m_widget;
00057 };
00058 
00059 #endif