CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::InputSource::EventSourceSentry Class Reference

#include <InputSource.h>

Public Member Functions

 EventSourceSentry (InputSource const &source, StreamContext &sc)
 
 EventSourceSentry (EventSourceSentry const &)=delete
 
EventSourceSentryoperator= (EventSourceSentry const &)=delete
 
 ~EventSourceSentry ()
 

Private Attributes

StreamContextsc_
 
InputSource const & source_
 

Detailed Description

Definition at line 280 of file InputSource.h.

Constructor & Destructor Documentation

edm::InputSource::EventSourceSentry::EventSourceSentry ( InputSource const &  source,
StreamContext sc 
)

Definition at line 619 of file InputSource.cc.

References edm::InputSource::actReg(), sc_, and edm::StreamContext::streamID().

619  :
620  source_(source),
621  sc_(sc)
622  {
623  source.actReg()->preSourceSignal_(sc_.streamID());
624  }
static std::string const source("source")
StreamID const & streamID() const
Definition: StreamContext.h:57
edm::InputSource::EventSourceSentry::~EventSourceSentry ( )

Definition at line 626 of file InputSource.cc.

626  {
627  source_.actReg()->postSourceSignal_(sc_.streamID());
628  }
boost::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:252
StreamID const & streamID() const
Definition: StreamContext.h:57
edm::InputSource::EventSourceSentry::EventSourceSentry ( EventSourceSentry const &  )
delete

Member Function Documentation

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

Member Data Documentation

StreamContext& edm::InputSource::EventSourceSentry::sc_
private

Definition at line 290 of file InputSource.h.

Referenced by EventSourceSentry().

InputSource const& edm::InputSource::EventSourceSentry::source_
private

Definition at line 289 of file InputSource.h.

Referenced by Config.Process::dumpConfig(), and Config.Process::dumpPython().