Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
InputSourceDescription;
12
class
ParameterSet
;
13
14
typedef
VectorInputSource
* (
ISVecFunc
)(
ParameterSet
const
&,
InputSourceDescription
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>
24
makeVectorInputSource
(
ParameterSet
const
&,
25
InputSourceDescription
const
&)
const
;
26
27
private
:
28
VectorInputSourceFactory
();
29
static
VectorInputSourceFactory
const
singleInstance_
;
30
};
31
}
32
#endif
edm::VectorInputSourceFactory
Definition:
VectorInputSourceFactory.h:17
ParameterSet
Definition:
Functions.h:16
edm::VectorInputSourceFactory::VectorInputSourceFactory
VectorInputSourceFactory()
Definition:
VectorInputSourceFactory.cc:16
edm::VectorInputSource
Definition:
VectorInputSource.h:19
edm::InputSourceDescription
Definition:
InputSourceDescription.h:19
edm::VectorInputSourceFactory::makeVectorInputSource
std::unique_ptr< VectorInputSource > makeVectorInputSource(ParameterSet const &, InputSourceDescription const &) const
Definition:
VectorInputSourceFactory.cc:30
edm::VectorInputSourceFactory::~VectorInputSourceFactory
~VectorInputSourceFactory()
Definition:
VectorInputSourceFactory.cc:13
edmplugin::PluginFactory
Definition:
PluginFactory.h:31
edm::VectorInputSourcePluginFactory
edmplugin::PluginFactory< ISVecFunc > VectorInputSourcePluginFactory
Definition:
VectorInputSourceFactory.h:15
edm::ISVecFunc
VectorInputSource *( ISVecFunc)(ParameterSet const &, InputSourceDescription const &)
Definition:
VectorInputSourceFactory.h:14
edm::VectorInputSourceFactory::singleInstance_
static VectorInputSourceFactory const singleInstance_
Definition:
VectorInputSourceFactory.h:29
PluginFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:35
VectorInputSource.h
Generated for CMSSW Reference Manual by
1.8.5