Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
Presence.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::PresenceFunc
Presence *( PresenceFunc)()
Definition:
PresenceFactory.h:13
edm::PresenceFactory::PresenceFactory
PresenceFactory()
Definition:
PresenceFactory.cc:14
edmplugin::PluginFactory
Definition:
PluginFactory.h:31
edm::PresenceFactory::~PresenceFactory
~PresenceFactory()
Definition:
PresenceFactory.cc:11
PluginFactory.h
edm::Presence
Definition:
Presence.h:21
edm::PresenceFactory::makePresence
std::unique_ptr< Presence > makePresence(std::string const &presence_type) const
Definition:
PresenceFactory.cc:25
Generated for CMSSW Reference Manual by
1.8.5