Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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>
makePresence
(
std::string
const
& presence_type)
const
;
22
23
private
:
24
PresenceFactory
();
25
//static PresenceFactory singleInstance_;
26
};
27
}
// namespace edm
28
#endif // FWCore_PluginManager_PresenceFactory_h
edm::PresenceFactory
Definition:
PresenceFactory.h:15
Presence.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::PresenceFunc
Presence *( PresenceFunc)()
Definition:
PresenceFactory.h:13
edm::PresenceFactory::PresenceFactory
PresenceFactory()
Definition:
PresenceFactory.cc:14
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
edm::PresenceFactory::~PresenceFactory
~PresenceFactory()
Definition:
PresenceFactory.cc:12
PluginFactory.h
edm::PresencePluginFactory
edmplugin::PluginFactory< Presence *()> PresencePluginFactory
Definition:
PresenceFactory.h:11
edm::Presence
Definition:
Presence.h:21
edm::PresenceFactory::makePresence
std::unique_ptr< Presence > makePresence(std::string const &presence_type) const
Definition:
PresenceFactory.cc:21
Generated for CMSSW Reference Manual by
1.8.5