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

Public Member Functions

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

Private Attributes

std::string const & lfn_
 
Sigpost_
 

Detailed Description

Definition at line 336 of file InputSource.h.

Member Typedef Documentation

◆ Sig

Definition at line 338 of file InputSource.h.

Constructor & Destructor Documentation

◆ FileCloseSentry() [1/2]

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

Definition at line 506 of file InputSource.cc.

References edm::source().

507  : post_(source.actReg()->postCloseFileSignal_), lfn_(lfn) {
508  source.actReg()->preCloseFileSignal_(lfn);
509  }
static std::string const source("source")

◆ ~FileCloseSentry()

edm::InputSource::FileCloseSentry::~FileCloseSentry ( )

Definition at line 511 of file InputSource.cc.

◆ FileCloseSentry() [2/2]

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

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ lfn_

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

Definition at line 347 of file InputSource.h.

◆ post_

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

Definition at line 346 of file InputSource.h.