Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
FWCore
ServiceRegistry
interface
ESParentContext.h
Go to the documentation of this file.
1
#ifndef FWCore_ServiceRegistry_ESParentContext_h
2
#define FWCore_ServiceRegistry_ESParentContext_h
3
12
//
13
// Original Author: C. Jones
14
// Created: 2/07/2021
15
16
namespace
edm {
17
18
class
ModuleCallingContext;
19
class
ESModuleCallingContext;
20
21
class
ESParentContext
{
22
public
:
23
enum class
Type
{
kModule
,
kESModule
,
kInvalid
};
24
25
ESParentContext
();
26
explicit
ESParentContext
(
ModuleCallingContext
const
*) noexcept;
27
explicit
ESParentContext
(
ESModuleCallingContext
const
*) noexcept;
28
29
Type
type
()
const
noexcept {
return
type_
; }
30
31
ModuleCallingContext
const
*
moduleCallingContext
()
const
;
32
ESModuleCallingContext
const
*
esmoduleCallingContext
()
const
;
33
34
private
:
35
Type
type_
;
36
37
union
Parent
{
38
ModuleCallingContext
const
*
module
;
39
ESModuleCallingContext
const
*
esmodule
;
40
}
parent_
;
41
};
42
}
// namespace edm
43
#endif
edm::ESParentContext::parent_
union edm::ESParentContext::Parent parent_
edm::ESParentContext::Parent::esmodule
ESModuleCallingContext const * esmodule
Definition:
ESParentContext.h:39
edm::ESParentContext::ESParentContext
ESParentContext()
Definition:
ESParentContext.cc:11
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:32
edm::ESParentContext
Definition:
ESParentContext.h:21
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
edm::ESParentContext::Type
Type
Definition:
ESParentContext.h:23
edm::ESModuleCallingContext
Definition:
ESModuleCallingContext.h:27
edm::ESParentContext::moduleCallingContext
ModuleCallingContext const * moduleCallingContext() const
Definition:
ESParentContext.cc:21
edm::ESParentContext::Type::kInvalid
edm::ESParentContext::type_
Type type_
Definition:
ESParentContext.h:35
edm::ESParentContext::Type::kESModule
edm::ESParentContext::Type::kModule
edm::ESParentContext::Parent
Definition:
ESParentContext.h:37
edm::ESParentContext::esmoduleCallingContext
ESModuleCallingContext const * esmoduleCallingContext() const
Definition:
ESParentContext.cc:29
edm::ESParentContext::Parent::module
ModuleCallingContext const * module
Definition:
ESParentContext.h:38
runTheMatrix.const
string const
Definition:
runTheMatrix.py:329
Generated for CMSSW Reference Manual by
1.8.5