FWCore
ServiceRegistry
interface
CurrentModuleOnThread.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_CurrentModuleOnThread_h
2
#define FWCore_Framework_CurrentModuleOnThread_h
3
10
namespace
edm
{
11
12
class
ModuleCallingContext;
13
class
ModuleContextSentry;
14
15
class
CurrentModuleOnThread
{
16
public
:
17
static
ModuleCallingContext
const
*
getCurrentModuleOnThread
() {
return
currentModuleOnThread_
; }
18
19
private
:
20
friend
class
ModuleContextSentry
;
21
static
void
setCurrentModuleOnThread
(
ModuleCallingContext
const
*
v
) {
currentModuleOnThread_
=
v
; }
22
23
static
thread_local
ModuleCallingContext
const
*
currentModuleOnThread_
;
24
};
25
}
// namespace edm
26
#endif
edm::ModuleContextSentry
Definition:
ModuleContextSentry.h:11
edm
HLT enums.
Definition:
AlignableModifier.h:19
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
edm::CurrentModuleOnThread::getCurrentModuleOnThread
static ModuleCallingContext const * getCurrentModuleOnThread()
Definition:
CurrentModuleOnThread.h:17
edm::CurrentModuleOnThread::setCurrentModuleOnThread
static void setCurrentModuleOnThread(ModuleCallingContext const *v)
Definition:
CurrentModuleOnThread.h:21
edm::CurrentModuleOnThread::currentModuleOnThread_
static thread_local ModuleCallingContext const * currentModuleOnThread_
Definition:
CurrentModuleOnThread.h:23
edm::CurrentModuleOnThread
Definition:
CurrentModuleOnThread.h:15
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:29
Generated for CMSSW Reference Manual by
1.8.16