test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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>
23
makeInputSource
(
ParameterSet
const
&,
24
InputSourceDescription
const
&)
const
;
25
26
27
private
:
28
InputSourceFactory
();
29
static
InputSourceFactory
const
singleInstance_
;
30
};
31
32
}
33
#endif
edm::InputSourceFactory
Definition:
InputSourceFactory.h:16
edm::InputSourceFactory::singleInstance_
static InputSourceFactory const singleInstance_
Definition:
InputSourceFactory.h:29
InputSource.h
edm::InputSourceDescription
Definition:
InputSourceDescription.h:20
edm::InputSourceFactory::InputSourceFactory
InputSourceFactory()
Definition:
InputSourceFactory.cc:17
edm::InputSourceFactory::makeInputSource
std::unique_ptr< InputSource > makeInputSource(ParameterSet const &, InputSourceDescription const &) const
Definition:
InputSourceFactory.cc:33
edm::InputSourcePluginFactory
edmplugin::PluginFactory< ISFunc > InputSourcePluginFactory
Definition:
InputSourceFactory.h:14
edmplugin::PluginFactory
Definition:
PluginFactory.h:31
edm::ISFunc
InputSource *( ISFunc)(ParameterSet const &, InputSourceDescription const &)
Definition:
InputSourceFactory.h:12
edm::InputSourceFactory::~InputSourceFactory
~InputSourceFactory()
Definition:
InputSourceFactory.cc:13
PluginFactory.h
edm::InputSource
Definition:
InputSource.h:79
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.5