21 using namespace asg::msgComponentConfig;
53 const std::string modulePathName =
argv[1];
56 std::string modulePath, moduleName;
58 const auto pos = modulePathName.find_last_of (
'/');
59 if (
pos != std::string::npos)
61 modulePath = modulePathName.substr (0,
pos);
62 moduleName = modulePathName.substr (
pos + 1);
67 moduleName = modulePathName;
71 if (
auto types = getLoadedComponentFactoryTypes (); !types.empty())
74 for (
const auto&
type : types)
79 ATH_MSG_DEBUG (
"loading component factory preloader module from " << modulePath <<
" with name " << moduleName);
80 loadComponentFactoryModule (moduleName, modulePath);
83 for (
auto&
type : getLoadedComponentFactoryTypes ())