FWCore
Framework
src
InputSourceFactory.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_InputSourceFactory_h
2
#define FWCore_Framework_InputSourceFactory_h
3
4
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
5
#include "
FWCore/Framework/interface/InputSource.h
"
6
7
#include <string>
8
#include <memory>
9
10
namespace
edm
{
11
12
typedef
InputSource
*(
ISFunc
)(
ParameterSet
const
&,
InputSourceDescription
const
&);
13
14
typedef
edmplugin::PluginFactory<ISFunc>
InputSourcePluginFactory
;
15
16
class
InputSourceFactory
{
17
public
:
18
~InputSourceFactory
();
19
20
static
InputSourceFactory
const
*
get
();
21
22
std::unique_ptr<InputSource>
makeInputSource
(
ParameterSet
const
&,
InputSourceDescription
const
&)
const
;
23
24
private
:
25
InputSourceFactory
();
26
static
InputSourceFactory
const
singleInstance_
;
27
};
28
29
}
// namespace edm
30
#endif
PluginFactory.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::InputSourceFactory::singleInstance_
static const InputSourceFactory singleInstance_
Definition:
InputSourceFactory.h:26
edm::InputSourceFactory::get
static InputSourceFactory const * get()
Definition:
InputSourceFactory.cc:18
edm::InputSourceDescription
Definition:
InputSourceDescription.h:20
edm::InputSourceFactory::InputSourceFactory
InputSourceFactory()
Definition:
InputSourceFactory.cc:14
edm::InputSourceFactory::makeInputSource
std::unique_ptr< InputSource > makeInputSource(ParameterSet const &, InputSourceDescription const &) const
Definition:
InputSourceFactory.cc:26
edm::InputSourcePluginFactory
edmplugin::PluginFactory< ISFunc > InputSourcePluginFactory
Definition:
InputSourceFactory.h:14
edm::ParameterSet
Definition:
ParameterSet.h:47
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
edm::InputSourceFactory
Definition:
InputSourceFactory.h:16
edm::InputSourceFactory::~InputSourceFactory
~InputSourceFactory()
Definition:
InputSourceFactory.cc:12
InputSource.h
edm::ISFunc
InputSource *() ISFunc(ParameterSet const &, InputSourceDescription const &)
Definition:
InputSourceFactory.h:12
edm::InputSource
Definition:
InputSource.h:76
Generated for CMSSW Reference Manual by
1.8.16