CMS 3D CMS Logo

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

#include <InputSource.h>

Public Types

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

Public Member Functions

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

Private Attributes

std::string const & lfn_
 
Sigpost_
 
bool usedFallback_
 

Detailed Description

Definition at line 319 of file InputSource.h.

Member Typedef Documentation

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

Definition at line 321 of file InputSource.h.

Constructor & Destructor Documentation

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

Definition at line 585 of file InputSource.cc.

References edm::InputSource::actReg().

587  :
588  post_(source.actReg()->postCloseFileSignal_),
589  lfn_(lfn),
590  usedFallback_(usedFallback) {
591  source.actReg()->preCloseFileSignal_(lfn, usedFallback);
592  }
static std::string const source("source")
edm::InputSource::FileCloseSentry::~FileCloseSentry ( )

Definition at line 594 of file InputSource.cc.

References lfn_, post_, and usedFallback_.

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

Member Function Documentation

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

Member Data Documentation

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

Definition at line 330 of file InputSource.h.

Referenced by ~FileCloseSentry().

Sig& edm::InputSource::FileCloseSentry::post_
private

Definition at line 329 of file InputSource.h.

Referenced by ~FileCloseSentry().

bool edm::InputSource::FileCloseSentry::usedFallback_
private

Definition at line 331 of file InputSource.h.

Referenced by ~FileCloseSentry().