CMS 3D CMS Logo

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

◆ EventSignalsSentry()

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

Definition at line 31 of file EventSignalsSentry.h.

32  : m_reg(iReg), m_context(iContext) {
33  iReg->preModuleEventSignal_(*(iContext->getStreamContext()), *iContext);
34  }

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

◆ ~EventSignalsSentry()

edm::EventSignalsSentry::~EventSignalsSentry ( )
inline

Member Data Documentation

◆ m_context

ModuleCallingContext const* edm::EventSignalsSentry::m_context
private

Definition at line 41 of file EventSignalsSentry.h.

Referenced by ~EventSignalsSentry().

◆ m_reg

ActivityRegistry* edm::EventSignalsSentry::m_reg
private

Definition at line 40 of file EventSignalsSentry.h.

Referenced by ~EventSignalsSentry().

edm::EventSignalsSentry::m_reg
ActivityRegistry * m_reg
Definition: EventSignalsSentry.h:40
edm::EventSignalsSentry::m_context
ModuleCallingContext const * m_context
Definition: EventSignalsSentry.h:41
edm::ActivityRegistry::postModuleEventSignal_
PostModuleEvent postModuleEventSignal_
Definition: ActivityRegistry.h:676
edm::ModuleCallingContext::getStreamContext
StreamContext const * getStreamContext() const
Definition: ModuleCallingContext.cc:32