CMS 3D CMS Logo

ModuleContextSentry.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ModuleContextSentry_h
2 #define FWCore_Framework_ModuleContextSentry_h
3 
8 
9 namespace edm {
10 
12  public:
13  ModuleContextSentry(ModuleCallingContext* moduleCallingContext, ParentContext const& parentContext)
14  : moduleCallingContext_(moduleCallingContext) {
15  moduleCallingContext_->setContext(
18  }
22  }
23 
24  private:
26  };
27 } // namespace edm
28 #endif
ModuleCallingContext.h
edm::ModuleContextSentry::~ModuleContextSentry
~ModuleContextSentry()
Definition: ModuleContextSentry.h:19
edm::ModuleContextSentry
Definition: ModuleContextSentry.h:11
propagate_const.h
edm
HLT enums.
Definition: AlignableModifier.h:19
CurrentModuleOnThread.h
edm::ModuleCallingContext::State::kInvalid
edm::propagate_const
Definition: propagate_const.h:32
edm::ParentContext
Definition: ParentContext.h:27
edm::ModuleContextSentry::ModuleContextSentry
ModuleContextSentry(ModuleCallingContext *moduleCallingContext, ParentContext const &parentContext)
Definition: ModuleContextSentry.h:13
edm::CurrentModuleOnThread::getCurrentModuleOnThread
static ModuleCallingContext const * getCurrentModuleOnThread()
Definition: CurrentModuleOnThread.h:17
ParentContext.h
edm::CurrentModuleOnThread::setCurrentModuleOnThread
static void setCurrentModuleOnThread(ModuleCallingContext const *v)
Definition: CurrentModuleOnThread.h:21
edm::ModuleContextSentry::moduleCallingContext_
edm::propagate_const< ModuleCallingContext * > moduleCallingContext_
Definition: ModuleContextSentry.h:25
edm::ModuleCallingContext::State::kRunning
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29