CMS 3D CMS Logo

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
24 
25 // user include files
26 
27 // forward declarations
28 namespace edm {
30 
31  public:
33  ModuleCallingContext const * iContext) :
34  m_reg(iReg),
35  m_context(iContext)
36  { iReg->preModuleEventAcquireSignal_( *(iContext->getStreamContext()), *iContext);}
37 
40  }
41 
42  private:
43  // ---------- member data --------------------------------
44  ActivityRegistry* m_reg; // We do not use propagate_const because the registry itself is mutable.
46  };
47 }
48 
49 #endif
StreamContext const * getStreamContext() const
PostModuleEventAcquire postModuleEventAcquireSignal_
ModuleCallingContext const * m_context
HLT enums.
PreModuleEventAcquire preModuleEventAcquireSignal_
EventAcquireSignalsSentry(ActivityRegistry *iReg, ModuleCallingContext const *iContext)