9 #include "cetlib/LibraryManager.h" 10 #include "cetlib/detail/wrapLibraryManagerException.h" 18 std::unique_ptr<InputSource>
21 auto const libspec = conf.
get<std::string>(
"module_type");
22 FDEBUG(1) <<
"InputSourceFactory: module_type = " << libspec <<
'\n';
25 make_t* symbol =
nullptr;
28 lm_.getSymbolByLibspec(libspec,
"make", symbol);
31 cet::detail::wrapLibraryManagerException(
34 if (symbol ==
nullptr) {
36 <<
"InputSource " << libspec
37 <<
" has internal symbol definition problems: consult an expert.";
39 auto wm = symbol(conf, desc);
40 FDEBUG(1) <<
"InputSourceFactory: created input source " << libspec <<
'\n';
static std::string const & source()
T get(std::string const &key) const
std::string const & getReleaseVersion()
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception