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

Definition at line 694 of file scheduler.cc.

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

695  {
696  fDatabase = conf.Get<string>("schedule-database");
697  fDurationCalRun = conf.Get<int>("duration-cal-run");
698  fDurationPedRun = conf.Get<int>("duration-ped-run");
699  fDurationRepos = conf.Get<int>("duration-repos");
700 
701  if (!conf.Has("schedule"))
702  return -1;
703 
704  fDBName = conf.Get<string>("schedule");
705  return Schedule();
706  }
int fDurationRepos
Definition: scheduler.cc:149
string fDatabase
Definition: scheduler.cc:145
int fDurationPedRun
Definition: scheduler.cc:148
T Get(const std::string &var)
bool Has(const std::string &var)
int Schedule()
Definition: scheduler.cc:151
string fDBName
Definition: scheduler.cc:146
int fDurationCalRun
Definition: scheduler.cc:147

+ Here is the call graph for this function: