CMS 3D CMS Logo

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 //
20 
21 #include <string>
26 
29 
30 #ifndef __CINT__
31 #include <memory>
32 #include <sigc++/sigc++.h>
33 #endif
34 
35 class TGCompositeFrame;
36 
37 class FWParameterBase;
38 class FWConfiguration;
39 class FWEventItem;
40 
41 //==============================================================================
43 public:
46 
47  template <class T>
49  template <class T>
51  template <class T>
52  T value(const std::string& name);
53 
54  void setFrom(const FWConfiguration& iFrom) override;
55  void addTo(FWConfiguration& iTo) const override;
56 
57  void populateFrame(TGCompositeFrame* frame);
58 
59  void keepEntries(bool b);
60 
61 private:
62  void makeSetter(TGCompositeFrame*, FWParameterBase*);
63 
66 
68 #ifndef __CINT__
69  std::vector<std::shared_ptr<FWParameterSetterBase> > m_setters;
70 #endif
71 };
72 #endif
void populateFrame(TGCompositeFrame *frame)
int def(FILE *, FILE *, int)
void addTo(FWConfiguration &iTo) const override
FWProxyBuilderConfiguration(const FWConfiguration *c, const FWEventItem *item)
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
void setFrom(const FWConfiguration &iFrom) override
FWGenericParameter< T > * assertParam(const std::string &name, T def)
double b
Definition: hdecay.h:118
void makeSetter(TGCompositeFrame *, FWParameterBase *)
long double T