CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWProxyBuilderConfiguration.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWProxyBuilderConfiguration_h
2 #define Fireworks_Core_FWProxyBuilderConfiguration_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWProxyBuilderConfiguration
7 //
16 //
17 // Original Author:
18 // Created: Wed Jul 27 00:58:35 CEST 2011
19 // $Id: FWProxyBuilderConfiguration.h,v 1.4 2011/08/16 01:16:05 amraktad Exp $
20 //
21 
22 #include <string>
27 
30 
31 #ifndef __CINT__
32 #include <boost/shared_ptr.hpp>
33 #include <sigc++/sigc++.h>
34 #endif
35 
36 class TGCompositeFrame;
37 
38 class FWParameterBase;
39 class FWConfiguration;
40 class FWEventItem;
41 
42 //==============================================================================
45 {
46 public:
49 
50 
51  template <class T> FWGenericParameter<T>* assertParam(const std::string& name, T def);
52  template <class T> FWGenericParameterWithRange<T>* assertParam(const std::string& name, T def, T min, T max);
53  template <class T> T value(const std::string& name);
54 
55 
56  virtual void setFrom(const FWConfiguration& iFrom);
57  virtual void addTo(FWConfiguration& iTo) const;
58 
59  void populateFrame(TGCompositeFrame* frame);
60 
61 private:
62  void makeSetter(TGCompositeFrame*, FWParameterBase*);
63 
66 
67 #ifndef __CINT__
68  std::vector<boost::shared_ptr<FWParameterSetterBase> > m_setters;
69 #endif
70 
71 };
72 #endif
void populateFrame(TGCompositeFrame *frame)
#define min(a, b)
Definition: mlp_lapack.h:161
virtual void addTo(FWConfiguration &iTo) const
virtual void setFrom(const FWConfiguration &iFrom)
FWProxyBuilderConfiguration(const FWConfiguration *c, const FWEventItem *item)
const T & max(const T &a, const T &b)
FWGenericParameter< T > * assertParam(const std::string &name, T def)
std::vector< boost::shared_ptr< FWParameterSetterBase > > m_setters
void makeSetter(TGCompositeFrame *, FWParameterBase *)
long double T
JetCorrectorParameters::Definitions def
Definition: classes.h:10