Go to the documentation of this file.
18 #include <boost/bind.hpp>
33 : m_txtConfig(
c), m_item(
item), m_keepEntries(
false) {}
60 ptr->attach(pb,
this);
61 TGFrame* tmpFrame = ptr->build(
frame,
false);
62 frame->AddFrame(tmpFrame,
new TGLayoutHints(kLHintsExpandX));
69 TGCompositeFrame*
frame =
new TGVerticalFrame(settersFrame);
70 settersFrame->AddFrame(
frame,
new TGLayoutHints(kLHintsExpandX));
75 settersFrame->MapSubwindows();
85 if ((*i)->name() ==
name) {
96 mode->setFrom(*varConfig);
105 if ((*i)->name() ==
name) {
116 mode->setFrom(*varConfig);
127 if ((*i)->name() ==
pname) {
134 return param->
value();
136 throw std::runtime_error(
"Invalid parameter request.");
141 template bool FWProxyBuilderConfiguration::value<bool>(
const std::string&
name);
142 template long FWProxyBuilderConfiguration::value<long>(
const std::string&
name);
143 template double FWProxyBuilderConfiguration::value<double>(
const std::string&
name);
std::vector< FWParameterBase * >::const_iterator const_iterator
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
void proxyConfigChanged(bool k=false)
const_iterator end() const
const_iterator begin() const
FWProxyBuilderConfiguration(const FWConfiguration *c, const FWEventItem *item)
const FWConfiguration * valueForKey(const std::string &iKey) const
FWGenericParameter< T > * assertParam(const std::string &name, T def)
~FWProxyBuilderConfiguration() override
void setFrom(const FWConfiguration &iFrom) override
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
void addTo(FWConfiguration &) const override
T value(const std::string &name)
const KeyValues * keyValues() const
void addTo(FWConfiguration &iTo) const override
int def(FILE *, FILE *, int)
const FWEventItem * m_item
void populateFrame(TGCompositeFrame *frame)
void makeSetter(TGCompositeFrame *, FWParameterBase *)
const FWConfiguration * m_txtConfig