Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
PluginManager
src
ProblemTracker.cc
Go to the documentation of this file.
1
2
3
#include "
FWCore/PluginManager/interface/ProblemTracker.h
"
4
#include "
FWCore/PluginManager/interface/PluginManager.h
"
5
#include "
FWCore/PluginManager/interface/standard.h
"
6
7
#include <string>
8
9
namespace
edm
10
{
11
12
// -----------------------------------------------
13
14
bool
ProblemTracker::dead_
=
true
;
15
//edmplugin::DebugAids::AssertHook ProblemTracker::old_assert_hook_ = 0;
16
17
ProblemTracker::ProblemTracker
()
18
{
19
dead_
=
false
;
20
//old_assert_hook_ = edmplugin::DebugAids::failHook(&failure);
21
if
(not
edmplugin::PluginManager::isAvailable
()) {
22
edmplugin::PluginManager::Config
config
(
edmplugin::standard::config
());
23
24
edmplugin::PluginManager::configure
(config);
25
}
26
}
27
28
ProblemTracker::~ProblemTracker
()
29
{
30
// since this is a singleton, we will not restore the old handle
31
dead_
=
true
;
32
}
33
34
ProblemTracker
*
ProblemTracker::instance
()
35
{
36
static
ProblemTracker
pt;
37
return
&pt;
38
}
39
40
// ---------------------------------------------
41
42
AssertHandler::AssertHandler
():pt_(
ProblemTracker
::
instance
())
43
{
44
}
45
46
AssertHandler::~AssertHandler
()
47
{
48
}
49
50
51
}
edm::ProblemTracker
Definition:
ProblemTracker.h:18
edm::ProblemTracker::ProblemTracker
ProblemTracker()
Definition:
ProblemTracker.cc:17
edmplugin::PluginManager::configure
static PluginManager & configure(const Config &)
Definition:
PluginManager.cc:282
edm::ProblemTracker::instance
static ProblemTracker * instance()
Definition:
ProblemTracker.cc:34
instance
static PFTauRenderPlugin instance
Definition:
PFTauRenderPlugin.cc:72
edm::AssertHandler::~AssertHandler
~AssertHandler()
Definition:
ProblemTracker.cc:46
edmplugin::PluginManager::isAvailable
static bool isAvailable()
Definition:
PluginManager.cc:319
edmplugin::PluginManager::Config
Definition:
PluginManager.h:45
ProblemTracker.h
edmplugin::standard::config
PluginManager::Config config()
Definition:
standard.cc:22
edm::AssertHandler::AssertHandler
AssertHandler()
Definition:
ProblemTracker.cc:42
HDQMDatabaseProducer.config
tuple config
Definition:
HDQMDatabaseProducer.py:18
PluginManager.h
edm::ProblemTracker::dead_
static bool dead_
Definition:
ProblemTracker.h:28
standard.h
edm::ProblemTracker::~ProblemTracker
~ProblemTracker()
Definition:
ProblemTracker.cc:28
Generated for CMSSW Reference Manual by
1.8.5