FWCore
Sources
interface
VectorInputSourceFactory.h
Go to the documentation of this file.
1
#ifndef FWCore_Sources_VectorInputSourceFactory_h
2
#define FWCore_Sources_VectorInputSourceFactory_h
3
4
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
5
#include "
FWCore/Sources/interface/VectorInputSource.h
"
6
7
#include <memory>
8
#include <string>
9
10
namespace
edm
{
11
struct
VectorInputSourceDescription;
12
class
ParameterSet
;
13
14
typedef
VectorInputSource
*(
ISVecFunc
)(
ParameterSet
const
&,
VectorInputSourceDescription
const
&);
15
typedef
edmplugin::PluginFactory<ISVecFunc>
VectorInputSourcePluginFactory
;
16
17
class
VectorInputSourceFactory
{
18
public
:
19
~VectorInputSourceFactory
();
20
21
static
VectorInputSourceFactory
const
*
get
();
22
23
std::unique_ptr<VectorInputSource>
makeVectorInputSource
(
ParameterSet
const
&,
24
VectorInputSourceDescription
const
&)
const
;
25
26
private
:
27
VectorInputSourceFactory
();
28
static
VectorInputSourceFactory
const
singleInstance_
;
29
};
30
}
// namespace edm
31
#endif
edm::VectorInputSourceFactory::singleInstance_
static const VectorInputSourceFactory singleInstance_
Definition:
VectorInputSourceFactory.h:28
PluginFactory.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::VectorInputSourceDescription
Definition:
VectorInputSourceDescription.h:18
edm::VectorInputSource
Definition:
VectorInputSource.h:27
edm::VectorInputSourceFactory::makeVectorInputSource
std::unique_ptr< VectorInputSource > makeVectorInputSource(ParameterSet const &, VectorInputSourceDescription const &) const
Definition:
VectorInputSourceFactory.cc:28
edm::VectorInputSourceFactory::VectorInputSourceFactory
VectorInputSourceFactory()
Definition:
VectorInputSourceFactory.cc:16
edm::ISVecFunc
VectorInputSource *() ISVecFunc(ParameterSet const &, VectorInputSourceDescription const &)
Definition:
VectorInputSourceFactory.h:14
edm::VectorInputSourcePluginFactory
edmplugin::PluginFactory< ISVecFunc > VectorInputSourcePluginFactory
Definition:
VectorInputSourceFactory.h:15
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
edm::VectorInputSourceFactory
Definition:
VectorInputSourceFactory.h:17
VectorInputSource.h
edm::VectorInputSourceFactory::get
static VectorInputSourceFactory const * get()
Definition:
VectorInputSourceFactory.cc:20
edm::VectorInputSourceFactory::~VectorInputSourceFactory
~VectorInputSourceFactory()
Definition:
VectorInputSourceFactory.cc:14
Generated for CMSSW Reference Manual by
1.8.16