CMS 3D CMS Logo

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

#include <InputSource.h>

Public Types

typedef signalslot::Signal< void(std::string const &)> Sig
 

Public Member Functions

 FileOpenSentry (InputSource const &source, std::string const &lfn)
 
 FileOpenSentry (FileOpenSentry const &)=delete
 
FileOpenSentryoperator= (FileOpenSentry const &)=delete
 
 ~FileOpenSentry ()
 

Private Attributes

std::string const & lfn_
 
Sigpost_
 

Detailed Description

Definition at line 322 of file InputSource.h.

Member Typedef Documentation

◆ Sig

typedef signalslot::Signal<void(std::string const&)> edm::InputSource::FileOpenSentry::Sig

Definition at line 324 of file InputSource.h.

Constructor & Destructor Documentation

◆ FileOpenSentry() [1/2]

edm::InputSource::FileOpenSentry::FileOpenSentry ( InputSource const &  source,
std::string const &  lfn 
)
explicit

Definition at line 499 of file InputSource.cc.

References edm::source().

500  : post_(source.actReg()->postOpenFileSignal_), lfn_(lfn) {
501  source.actReg()->preOpenFileSignal_(lfn);
502  }
static std::string const source("source")

◆ ~FileOpenSentry()

edm::InputSource::FileOpenSentry::~FileOpenSentry ( )

Definition at line 504 of file InputSource.cc.

◆ FileOpenSentry() [2/2]

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

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ lfn_

std::string const& edm::InputSource::FileOpenSentry::lfn_
private

Definition at line 333 of file InputSource.h.

◆ post_

Sig& edm::InputSource::FileOpenSentry::post_
private

Definition at line 332 of file InputSource.h.