Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:32

0001 #ifndef Fireworks_Core_FWViewContext_h
0002 #define Fireworks_Core_FWViewContext_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWViewContext
0007 //
0008 /**\class FWViewContext FWViewContext.h Fireworks/Core/interface/FWViewContext.h
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Alja Mrak-Tadel
0018 //         Created:  Wed Apr 14 18:31:27 CEST 2010
0019 //
0020 
0021 // system include files
0022 #include <sigc++/sigc++.h>
0023 #include <map>
0024 #include <string>
0025 #include "Rtypes.h"
0026 
0027 // user include files
0028 
0029 // forward declarations
0030 class FWViewEnergyScale;
0031 
0032 class FWViewContext {
0033 public:
0034   FWViewContext();
0035   virtual ~FWViewContext();
0036 
0037   FWViewEnergyScale* getEnergyScale() const;
0038   void setEnergyScale(FWViewEnergyScale*);
0039 
0040   void scaleChanged();
0041 
0042   mutable sigc::signal<void(const FWViewContext*)> scaleChanged_;
0043 
0044   FWViewContext(const FWViewContext&) = delete;  // stop default
0045 
0046   const FWViewContext& operator=(const FWViewContext&) = delete;  // stop default
0047 
0048 private:
0049   // ---------- member data --------------------------------
0050 
0051   FWViewEnergyScale* m_energyScale;
0052 };
0053 
0054 #endif