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();
101 if ((*i)->name() ==
name) {
111 if (varConfig) mode->
setFrom(*varConfig);
122 if ((*i)->name() ==
name) {
131 if (varConfig) mode->
setFrom(*varConfig);
143 if ((*i)->name() ==
pname)
151 return param->
value();
153 throw std::runtime_error(
"Invalid parameter request.");
158 template bool FWProxyBuilderConfiguration::value<bool>(
const std::string&
name);
159 template long FWProxyBuilderConfiguration::value<long>(
const std::string&
name);
160 template double FWProxyBuilderConfiguration::value<double>(
const std::string&
name);
void populateFrame(TGCompositeFrame *frame)
~FWProxyBuilderConfiguration() override
void addTo(FWConfiguration &) const override
std::vector< FWParameterBase * >::const_iterator const_iterator
const KeyValues * keyValues() const
const_iterator begin() const
void proxyConfigChanged()
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