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)
std::vector< FWParameterBase * >::const_iterator const_iterator
const KeyValues * keyValues() const
const_iterator begin() const
void proxyConfigChanged()
virtual ~FWProxyBuilderConfiguration()
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_iterator end() const
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
FWGenericParameter< T > * assertParam(const std::string &name, T def)
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
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