otsdaq  v2_05_02_indev
MakeTable.cc
1 #include <cetlib/BasicPluginFactory.h>
2 
3 #include "MakeTable.h"
4 #include "otsdaq/TableCore/TableBase.h"
5 
6 namespace ots
7 {
8 TableBase* makeTable(std::string const& tablePluginName)
9 {
10  static cet::BasicPluginFactory basicPluginInterfaceFactory("table", "make");
11 
12  return basicPluginInterfaceFactory.makePlugin<TableBase*>(tablePluginName);
13 }
14 } // namespace ots