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 265 of file InputSource.h.

Constructor & Destructor Documentation

◆ RunSourceSentry() [1/2]

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

Definition at line 481 of file InputSource.cc.

482  : source_(source), index_(index) {
483  source_.actReg()->preSourceRunSignal_(index_);
484  }

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

◆ ~RunSourceSentry()

edm::InputSource::RunSourceSentry::~RunSourceSentry ( )

Definition at line 486 of file InputSource.cc.

486 { source_.actReg()->postSourceRunSignal_(index_); }

◆ RunSourceSentry() [2/2]

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

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ index_

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

Definition at line 275 of file InputSource.h.

Referenced by RunSourceSentry().

◆ source_

InputSource const& edm::InputSource::RunSourceSentry::source_
private
edm::source
static const std::string source("source")
edm::InputSource::RunSourceSentry::source_
InputSource const & source_
Definition: InputSource.h:274
edm::InputSource::RunSourceSentry::index_
RunIndex index_
Definition: InputSource.h:275
edm::InputSource::actReg
std::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:227
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46