CMS 3D CMS Logo

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

#include <InputSource.h>

Public Member Functions

RunSourceSentryoperator= (RunSourceSentry const &)=delete
 
 RunSourceSentry (InputSource const &source, RunIndex id)
 
 RunSourceSentry (RunSourceSentry const &)=delete
 
 ~RunSourceSentry ()
 

Private Attributes

RunIndex index_
 
InputSource const & source_
 

Detailed Description

Definition at line 281 of file InputSource.h.

Constructor & Destructor Documentation

edm::InputSource::RunSourceSentry::RunSourceSentry ( InputSource const &  source,
RunIndex  id 
)

Definition at line 530 of file InputSource.cc.

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

530  :
531  source_(source),
532  index_(index)
533  {
534  source_.actReg()->preSourceRunSignal_(index_);
535  }
static std::string const source("source")
std::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:243
edm::InputSource::RunSourceSentry::~RunSourceSentry ( )

Definition at line 537 of file InputSource.cc.

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

537  {
538  source_.actReg()->postSourceRunSignal_(index_);
539  }
std::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:243
edm::InputSource::RunSourceSentry::RunSourceSentry ( RunSourceSentry const &  )
delete

Member Function Documentation

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

Member Data Documentation

RunIndex edm::InputSource::RunSourceSentry::index_
private

Definition at line 291 of file InputSource.h.

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

InputSource const& edm::InputSource::RunSourceSentry::source_
private