CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::InputSource::LumiSourceSentry Class Reference

#include <InputSource.h>

Public Member Functions

 LumiSourceSentry (InputSource const &source, LuminosityBlockIndex id)
 
 LumiSourceSentry (LumiSourceSentry const &)=delete
 
LumiSourceSentryoperator= (LumiSourceSentry const &)=delete
 
 ~LumiSourceSentry ()
 

Private Attributes

LuminosityBlockIndex index_
 
InputSource const & source_
 

Detailed Description

Definition at line 268 of file InputSource.h.

Constructor & Destructor Documentation

edm::InputSource::LumiSourceSentry::LumiSourceSentry ( InputSource const &  source,
LuminosityBlockIndex  id 
)

Definition at line 519 of file InputSource.cc.

References edm::InputSource::actReg(), index_, and source_.

519  :
520  source_(source),
521  index_(index)
522  {
523  source_.actReg()->preSourceLumiSignal_(index_);
524  }
static std::string const source("source")
std::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:243
edm::InputSource::LumiSourceSentry::~LumiSourceSentry ( )

Definition at line 526 of file InputSource.cc.

References edm::InputSource::actReg(), index_, and source_.

526  {
527  source_.actReg()->postSourceLumiSignal_(index_);
528  }
std::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:243
edm::InputSource::LumiSourceSentry::LumiSourceSentry ( LumiSourceSentry const &  )
delete

Member Function Documentation

LumiSourceSentry& edm::InputSource::LumiSourceSentry::operator= ( LumiSourceSentry const &  )
delete

Member Data Documentation

LuminosityBlockIndex edm::InputSource::LumiSourceSentry::index_
private

Definition at line 278 of file InputSource.h.

Referenced by LumiSourceSentry(), and ~LumiSourceSentry().

InputSource const& edm::InputSource::LumiSourceSentry::source_
private