00001 #include "otsdaq-core/PluginMakers/MakeControls.h"
00002 #include "otsdaq-core/ControlsCore/ControlsVInterface.h"
00003
00004 #include <cetlib/BasicPluginFactory.h>
00005
00006 ots::ControlsVInterface* ots::makeControls(
00007 const std::string& controlsPluginName,
00008 const std::string& controlsUID,
00009 const ots::ConfigurationTree& configuration,
00010 const std::string& pathToControlsConfiguration)
00011 {
00012 static cet::BasicPluginFactory basicPluginInterfaceFactory("controls", "make");
00013
00014 return basicPluginInterfaceFactory.makePlugin<
00015 ots::ControlsVInterface*,
00016 const std::string&,
00017 const ots::ConfigurationTree&,
00018 const std::string&
00019 >
00020 (
00021 controlsPluginName,
00022 controlsUID,
00023 configuration,
00024 pathToControlsConfiguration
00025 );
00026 }
00027
00028