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.

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

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

◆ ~EventSignalsSentry()

edm::EventSignalsSentry::~EventSignalsSentry ( )
inline

Definition at line 36 of file EventSignalsSentry.h.

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

PostModuleEvent postModuleEventSignal_
StreamContext const * getStreamContext() const noexcept(false)
ActivityRegistry * m_reg
ModuleCallingContext const * m_context

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().