LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ModuleFactory.h
Go to the documentation of this file.
1
#ifndef art_Framework_Core_detail_ModuleFactory_h
2
#define art_Framework_Core_detail_ModuleFactory_h
3
5
// ModuleFactory
6
//
7
// Manage the creation of workers.
8
//
10
#include "
art/Framework/Core/ModuleType.h
"
11
#include "
art/Framework/Principal/Worker.h
"
12
#include "
art/Framework/Principal/WorkerParams.h
"
13
#include "
art/Utilities/PluginSuffixes.h
"
14
#include "
canvas/Persistency/Provenance/ModuleDescription.h
"
15
#include "cetlib/LibraryManager.h"
16
17
#include <memory>
18
#include <string>
19
20
namespace
art
{
21
namespace
detail {
22
class
ModuleFactory;
23
}
24
}
25
26
class
art::detail::ModuleFactory
{
27
public
:
28
ModuleFactory
() =
default
;
29
30
ModuleFactory
(
ModuleFactory
const
&) =
delete
;
31
ModuleFactory
&
operator=
(
ModuleFactory
const
&) =
delete
;
32
33
ModuleType
moduleType
(std::string
const
& libspec);
34
35
std::unique_ptr<Worker>
makeWorker
(
WorkerParams
const
& wp,
36
ModuleDescription
const
& md);
37
38
private
:
39
cet::LibraryManager
lm_
{
Suffixes::module
()};
40
};
41
#endif
/* art_Framework_Core_detail_ModuleFactory_h */
42
43
// Local Variables:
44
// mode: c++
45
// End:
Worker.h
art::detail::ModuleFactory::moduleType
ModuleType moduleType(std::string const &libspec)
Definition:
ModuleFactory.cc:10
art::WorkerParams
Definition:
WorkerParams.h:16
WorkerParams.h
art::detail::ModuleFactory::operator=
ModuleFactory & operator=(ModuleFactory const &)=delete
ModuleDescription.h
PluginSuffixes.h
art::detail::ModuleFactory
Definition:
ModuleFactory.h:26
art::detail::ModuleFactory::ModuleFactory
ModuleFactory()=default
art::detail::ModuleFactory::makeWorker
std::unique_ptr< Worker > makeWorker(WorkerParams const &wp, ModuleDescription const &md)
Definition:
ModuleFactory.cc:29
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
ModuleType.h
art::Suffixes::module
static std::string const & module()
Definition:
PluginSuffixes.h:80
art::ModuleDescription
Definition:
ModuleDescription.h:24
art::detail::ModuleFactory::lm_
cet::LibraryManager lm_
Definition:
ModuleFactory.h:39
art::ModuleType
ModuleType
Definition:
ModuleType.h:22
art
Framework
Core
detail
ModuleFactory.h
Generated on Wed Dec 12 2018 14:42:31 for LArSoft by
1.8.11