18 #include <boost/bind.hpp>
76 ptr->attach(pb,
this);
77 TGFrame* tmpFrame = ptr->build(frame,
false);
78 frame->AddFrame(tmpFrame,
new TGLayoutHints(kLHintsExpandX));
87 TGCompositeFrame* frame =
new TGVerticalFrame(settersFrame);
88 settersFrame->AddFrame(frame,
new TGLayoutHints(kLHintsExpandX) );
93 settersFrame->MapSubwindows();
105 if (varConfig) mode->
setFrom(*varConfig);
119 if (varConfig) mode->
setFrom(*varConfig);
131 if ((*i)->name() == pname)
139 return param->
value();
141 throw std::runtime_error(
"Invalid parameter request.");
146 template bool FWProxyBuilderConfiguration::value<bool>(
const std::string&
name);
147 template long FWProxyBuilderConfiguration::value<long>(
const std::string&
name);
148 template double FWProxyBuilderConfiguration::value<double>(
const std::string&
name);
void populateFrame(TGCompositeFrame *frame)
std::vector< FWParameterBase * >::const_iterator const_iterator
const KeyValues * keyValues() const
const_iterator begin() const
void proxyConfigChanged()
virtual ~FWProxyBuilderConfiguration()
static boost::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
sigc::signal< void, T > changed_
const FWConfiguration * m_txtConfig
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)
const_iterator end() const
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
FWGenericParameter< T > * assertParam(const std::string &name, T def)
std::vector< boost::shared_ptr< FWParameterSetterBase > > m_setters
T value(const std::string &name)
virtual void setFrom(const FWConfiguration &iFrom)
void makeSetter(TGCompositeFrame *, FWParameterBase *)
const FWConfiguration * valueForKey(const std::string &iKey) const
const FWEventItem * m_item
virtual void addTo(FWConfiguration &) const