18 #include <boost/bind.hpp> 77 ptr->attach(pb,
this);
78 TGFrame* tmpFrame = ptr->build(frame,
false);
79 frame->AddFrame(tmpFrame,
new TGLayoutHints(kLHintsExpandX));
88 TGCompositeFrame*
frame =
new TGVerticalFrame(settersFrame);
89 settersFrame->AddFrame(frame,
new TGLayoutHints(kLHintsExpandX) );
94 settersFrame->MapSubwindows();
107 if ((*i)->name() ==
name) {
117 if (varConfig) mode->
setFrom(*varConfig);
128 if ((*i)->name() ==
name) {
137 if (varConfig) mode->
setFrom(*varConfig);
149 if ((*i)->name() ==
pname)
157 return param->
value();
159 throw std::runtime_error(
"Invalid parameter request.");
164 template bool FWProxyBuilderConfiguration::value<bool>(
const std::string&
name);
165 template long FWProxyBuilderConfiguration::value<long>(
const std::string&
name);
166 template double FWProxyBuilderConfiguration::value<double>(
const std::string&
name);
void populateFrame(TGCompositeFrame *frame)
~FWProxyBuilderConfiguration() override
void proxyConfigChanged(bool k=false)
void addTo(FWConfiguration &) const override
std::vector< FWParameterBase * >::const_iterator const_iterator
const KeyValues * keyValues() const
const_iterator begin() const
void setFrom(const FWConfiguration &iFrom) override
sigc::signal< void, T > changed_
const FWConfiguration * m_txtConfig
FWProxyBuilderConfiguration(const FWConfiguration *c, const FWEventItem *item)
const_iterator end() const
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
void setFrom(const FWConfiguration &iFrom) override
FWGenericParameter< T > * assertParam(const std::string &name, T def)
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
void addTo(FWConfiguration &iTo) const override
T value(const std::string &name)
void makeSetter(TGCompositeFrame *, FWParameterBase *)
const FWConfiguration * valueForKey(const std::string &iKey) const
const FWEventItem * m_item