CMS 3D CMS Logo

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

#include <InputSource.h>

Public Member Functions

ProcessBlockSourceSentryoperator= (ProcessBlockSourceSentry const &)=delete
 
 ProcessBlockSourceSentry (InputSource const &, std::string const &)
 
 ProcessBlockSourceSentry (ProcessBlockSourceSentry const &)=delete
 
 ~ProcessBlockSourceSentry ()
 

Private Attributes

std::string const & processName_
 
InputSource const & source_
 

Detailed Description

Definition at line 280 of file InputSource.h.

Constructor & Destructor Documentation

◆ ProcessBlockSourceSentry() [1/2]

edm::InputSource::ProcessBlockSourceSentry::ProcessBlockSourceSentry ( InputSource const &  source,
std::string const &  processName 
)

Definition at line 488 of file InputSource.cc.

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

491  source_.actReg()->preSourceProcessBlockSignal_();
492  }
static std::string const source("source")
std::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:229

◆ ~ProcessBlockSourceSentry()

edm::InputSource::ProcessBlockSourceSentry::~ProcessBlockSourceSentry ( )

Definition at line 494 of file InputSource.cc.

494  {
495  source_.actReg()->postSourceProcessBlockSignal_(processName_);
496  }
std::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:229

◆ ProcessBlockSourceSentry() [2/2]

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

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ processName_

std::string const& edm::InputSource::ProcessBlockSourceSentry::processName_
private

Definition at line 290 of file InputSource.h.

◆ source_

InputSource const& edm::InputSource::ProcessBlockSourceSentry::source_
private