test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::EventSignalsSentry Class Reference

#include "EventSignalsSentry.h"

Public Member Functions

 EventSignalsSentry (ActivityRegistry *iReg, ModuleCallingContext const *iContext)
 
 ~EventSignalsSentry ()
 

Private Attributes

ModuleCallingContext const * m_context
 
ActivityRegistrym_reg
 

Detailed Description

Description: Guarantees that the pre/post module Event signals are sent

Usage: <usage>

Definition at line 29 of file EventSignalsSentry.h.

Constructor & Destructor Documentation

edm::EventSignalsSentry::EventSignalsSentry ( ActivityRegistry iReg,
ModuleCallingContext const *  iContext 
)
inline

Definition at line 32 of file EventSignalsSentry.h.

References edm::ModuleCallingContext::getStreamContext(), and edm::ActivityRegistry::preModuleEventSignal_.

33  :
34  m_reg(iReg),
35  m_context(iContext)
36  { iReg->preModuleEventSignal_( *(iContext->getStreamContext()), *iContext);}
ActivityRegistry * m_reg
ModuleCallingContext const * m_context
edm::EventSignalsSentry::~EventSignalsSentry ( )
inline

Definition at line 38 of file EventSignalsSentry.h.

References edm::ModuleCallingContext::getStreamContext(), m_context, m_reg, and edm::ActivityRegistry::postModuleEventSignal_.

38  {
40  }
StreamContext const * getStreamContext() const
PostModuleEvent postModuleEventSignal_
ActivityRegistry * m_reg
ModuleCallingContext const * m_context

Member Data Documentation

ModuleCallingContext const* edm::EventSignalsSentry::m_context
private

Definition at line 45 of file EventSignalsSentry.h.

Referenced by ~EventSignalsSentry().

ActivityRegistry* edm::EventSignalsSentry::m_reg
private

Definition at line 44 of file EventSignalsSentry.h.

Referenced by ~EventSignalsSentry().