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 &, bool)> Sig
 

Public Member Functions

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

Private Attributes

std::string const & lfn_
 
Sigpost_
 
bool usedFallback_
 

Detailed Description

Definition at line 294 of file InputSource.h.

Member Typedef Documentation

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

Definition at line 296 of file InputSource.h.

Constructor & Destructor Documentation

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

Definition at line 541 of file InputSource.cc.

References edm::InputSource::actReg().

543  :
544  post_(source.actReg()->postOpenFileSignal_),
545  lfn_(lfn),
546  usedFallback_(usedFallback) {
547  source.actReg()->preOpenFileSignal_(lfn, usedFallback);
548  }
static std::string const source("source")
edm::InputSource::FileOpenSentry::~FileOpenSentry ( )

Definition at line 550 of file InputSource.cc.

References lfn_, post_, and usedFallback_.

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

Member Function Documentation

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

Member Data Documentation

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

Definition at line 305 of file InputSource.h.

Referenced by ~FileOpenSentry().

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

Definition at line 304 of file InputSource.h.

Referenced by ~FileOpenSentry().

bool edm::InputSource::FileOpenSentry::usedFallback_
private

Definition at line 306 of file InputSource.h.

Referenced by ~FileOpenSentry().