Main Page
Namespaces
Classes
Package Documentation
src
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
edm::InputSourceFactory
Definition:
InputSourceFactory.h:16
edm::ISFunc
InputSource *( ISFunc)(ParameterSet const &, InputSourceDescription const &)
Definition:
InputSourceFactory.h:12
edm::InputSourceFactory::singleInstance_
static InputSourceFactory const singleInstance_
Definition:
InputSourceFactory.h:26
InputSource.h
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
edmplugin::PluginFactory
Definition:
PluginFactory.h:33
edm::InputSourceFactory::~InputSourceFactory
~InputSourceFactory()
Definition:
InputSourceFactory.cc:12
PluginFactory.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputSource
Definition:
InputSource.h:76
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11