00001 #include "otsdaq-core/PluginMakers/MakeSlowControls.h"
00002 #include <cetlib/BasicPluginFactory.h>
00003
00004 #include "otsdaq-core/SlowControlsCore/SlowControlsVInterface.h"
00005
00006 ots::SlowControlsVInterface* ots::makeSlowControls(
00007 const std::string& slowControlsPluginName,
00008 const std::string& slowControlsUID,
00009
00010 const ots::ConfigurationTree& configurationTree,
00011 const std::string&
00012 pathToControlsConfiguration)
00013 {
00014 static cet::BasicPluginFactory basicPluginInterfaceFactory("controls", "make");
00015
00016 return basicPluginInterfaceFactory.makePlugin<ots::SlowControlsVInterface*,
00017 const std::string&,
00018 const ots::ConfigurationTree&,
00019 const std::string&>(
00020 slowControlsPluginName,
00021 slowControlsUID,
00022 configurationTree,
00023 pathToControlsConfiguration);
00024 }