FACT++  1.0
template<class T , class S >
bool StateMachineDrive< T, S >::AddSource ( const string &  name,
const Source src 
)
inline

Definition at line 2889 of file drivectrl.cc.

References Source::end.

2890  {
2891  const auto it = fSources.find(name);
2892  if (it!=fSources.end())
2893  T::Warn("Source '"+name+"' already in list... overwriting.");
2894 
2895  fSources[name] = src;
2896  return it==fSources.end();
2897  }
sources fSources
Definition: cosyctrl.cc:792