FACT++  1.0
template<class T , class S >
int StateMachineAgilent< T, S >::EvalOptions ( Configuration conf)
inline

Definition at line 486 of file agilentctrl.cc.

References Configuration::Get(), and Configuration::GetWildcardOptions().

487  {
488  fAgilent.SetVerbose(!conf.Get<bool>("quiet"));
489  fAgilent.SetDebugRx(conf.Get<bool>("debug-rx"));
490  fAgilent.SetInterval(conf.Get<uint16_t>("interval"));
491 
492  SetEndpoint(conf.Get<string>("addr.", S::fMode));
493 
494  const std::vector<std::string> opts = conf.GetWildcardOptions("addr.*");
495  for (auto it=opts.begin(); it!=opts.end(); it++)
496  conf.Get<string>(*it);
497 
498  return -1;
499  }
T Get(const std::string &var)
void SetEndpoint(const string &url)
Definition: agilentctrl.cc:481
const std::map< std::string, std::string > & GetWildcardOptions() const

+ Here is the call graph for this function: