CMS 3D CMS Logo

EventSignalsSentry.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_EventSignalsSentry_h
2 #define FWCore_Framework_EventSignalsSentry_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : EventSignalsSentry
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Mon, 12 May 2014 19:18:21 GMT
19 //
20 
21 // system include files
24 
25 // user include files
26 
27 // forward declarations
28 namespace edm {
30  public:
32  : m_reg(iReg), m_context(iContext) {
33  iReg->preModuleEventSignal_(*(iContext->getStreamContext()), *iContext);
34  }
35 
37 
38  private:
39  // ---------- member data --------------------------------
40  ActivityRegistry* m_reg; // We do not use propagate_const because the registry itself is mutable.
42  };
43 } // namespace edm
44 
45 #endif
edm::EventSignalsSentry::m_reg
ActivityRegistry * m_reg
Definition: EventSignalsSentry.h:40
ModuleCallingContext.h
edm::EventSignalsSentry::m_context
ModuleCallingContext const * m_context
Definition: EventSignalsSentry.h:41
edm
HLT enums.
Definition: AlignableModifier.h:19
ActivityRegistry.h
edm::ActivityRegistry::preModuleEventSignal_
PreModuleEvent preModuleEventSignal_
Definition: ActivityRegistry.h:670
edm::ActivityRegistry
Definition: ActivityRegistry.h:132
edm::ActivityRegistry::postModuleEventSignal_
PostModuleEvent postModuleEventSignal_
Definition: ActivityRegistry.h:676
edm::ModuleCallingContext::getStreamContext
StreamContext const * getStreamContext() const
Definition: ModuleCallingContext.cc:32
edm::EventSignalsSentry::~EventSignalsSentry
~EventSignalsSentry()
Definition: EventSignalsSentry.h:36
edm::EventSignalsSentry::EventSignalsSentry
EventSignalsSentry(ActivityRegistry *iReg, ModuleCallingContext const *iContext)
Definition: EventSignalsSentry.h:31
edm::EventSignalsSentry
Definition: EventSignalsSentry.h:29
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29