CMS 3D CMS Logo

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

Constructor & Destructor Documentation

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

Definition at line 446 of file InputSource.cc.

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

447  : source_(source), sc_(sc) {
448  source.actReg()->preSourceSignal_(sc_.streamID());
449  }
static std::string const source("source")
StreamID const & streamID() const
Definition: StreamContext.h:54
edm::InputSource::EventSourceSentry::~EventSourceSentry ( )

Definition at line 451 of file InputSource.cc.

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

451 { source_.actReg()->postSourceSignal_(sc_.streamID()); }
StreamID const & streamID() const
Definition: StreamContext.h:54
std::shared_ptr< ActivityRegistry > actReg() const
Accessor for Activity Registry.
Definition: InputSource.h:236
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 258 of file InputSource.h.

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

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