Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
FWCore
Framework
src
EventAcquireSignalsSentry.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_EventAcquireSignalsSentry_h
2
#define FWCore_Framework_EventAcquireSignalsSentry_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : EventAcquireSignalsSentry
7
//
16
//
17
// Original Author: W. David Dagenhart
18
// Created: Mon, 20 October 2017
19
//
20
21
// system include files
22
#include "
FWCore/ServiceRegistry/interface/ActivityRegistry.h
"
23
#include "
FWCore/ServiceRegistry/interface/ModuleCallingContext.h
"
24
25
// user include files
26
27
// forward declarations
28
namespace
edm
{
29
class
EventAcquireSignalsSentry
{
30
public
:
31
EventAcquireSignalsSentry
(
ActivityRegistry
* iReg,
ModuleCallingContext
const
* iContext)
32
:
m_reg
(iReg),
m_context
(iContext) {
33
iReg->
preModuleEventAcquireSignal_
(*(iContext->
getStreamContext
()), *iContext);
34
}
35
36
~EventAcquireSignalsSentry
() {
m_reg
->
postModuleEventAcquireSignal_
(*(
m_context
->
getStreamContext
()), *
m_context
); }
37
38
private
:
39
// ---------- member data --------------------------------
40
ActivityRegistry
*
m_reg
;
// We do not use propagate_const because the registry itself is mutable.
41
ModuleCallingContext
const
*
m_context
;
42
};
43
}
// namespace edm
44
45
#endif
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:32
edm::EventAcquireSignalsSentry
Definition:
EventAcquireSignalsSentry.h:29
edm::ActivityRegistry::postModuleEventAcquireSignal_
PostModuleEventAcquire postModuleEventAcquireSignal_
Definition:
ActivityRegistry.h:692
edm::EventAcquireSignalsSentry::~EventAcquireSignalsSentry
~EventAcquireSignalsSentry()
Definition:
EventAcquireSignalsSentry.h:36
edm::EventAcquireSignalsSentry::m_reg
ActivityRegistry * m_reg
Definition:
EventAcquireSignalsSentry.h:40
edm::EventAcquireSignalsSentry::m_context
ModuleCallingContext const * m_context
Definition:
EventAcquireSignalsSentry.h:41
ActivityRegistry.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ModuleCallingContext::getStreamContext
StreamContext const * getStreamContext() const
Definition:
ModuleCallingContext.cc:34
edm::ActivityRegistry::preModuleEventAcquireSignal_
PreModuleEventAcquire preModuleEventAcquireSignal_
Definition:
ActivityRegistry.h:684
ModuleCallingContext.h
edm::ActivityRegistry
Definition:
ActivityRegistry.h:135
edm::EventAcquireSignalsSentry::EventAcquireSignalsSentry
EventAcquireSignalsSentry(ActivityRegistry *iReg, ModuleCallingContext const *iContext)
Definition:
EventAcquireSignalsSentry.h:31
Generated for CMSSW Reference Manual by
1.8.14