Main Page
Namespaces
Classes
Package Documentation
FWCore
PluginManager
interface
PresenceFactory.h
Go to the documentation of this file.
1
#ifndef FWCore_PluginManager_PresenceFactory_h
2
#define FWCore_PluginManager_PresenceFactory_h
3
4
#include "
FWCore/Utilities/interface/Presence.h
"
5
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
6
7
#include <string>
8
#include <memory>
9
10
namespace
edm
{
11
typedef
edmplugin::PluginFactory<Presence* ()>
PresencePluginFactory
;
12
13
typedef
Presence
* (
PresenceFunc
)();
14
15
class
PresenceFactory
{
16
public
:
17
~PresenceFactory
();
18
19
static
PresenceFactory
*
get
();
20
21
std::unique_ptr<Presence>
22
makePresence
(
std::string
const
& presence_type)
const
;
23
24
private
:
25
PresenceFactory
();
26
//static PresenceFactory singleInstance_;
27
};
28
}
29
#endif // FWCore_PluginManager_PresenceFactory_h
edm::PresencePluginFactory
edmplugin::PluginFactory< Presence *()> PresencePluginFactory
Definition:
PresenceFactory.h:11
edm::PresenceFactory
Definition:
PresenceFactory.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::PresenceFunc
Presence *( PresenceFunc)()
Definition:
PresenceFactory.h:13
Presence.h
edm::PresenceFactory::PresenceFactory
PresenceFactory()
Definition:
PresenceFactory.cc:15
edmplugin::PluginFactory
Definition:
PluginFactory.h:32
edm::PresenceFactory::~PresenceFactory
~PresenceFactory()
Definition:
PresenceFactory.cc:12
PluginFactory.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::Presence
Definition:
Presence.h:21
edm::PresenceFactory::makePresence
std::unique_ptr< Presence > makePresence(std::string const &presence_type) const
Definition:
PresenceFactory.cc:26
Generated for CMSSW Reference Manual by
1.8.11