CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
edm::InputSource::FileCloseSentry Class Reference

#include <InputSource.h>

Public Types

typedef signalslot::Signal< void()> Sig
 

Public Member Functions

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

Public Attributes

Sigpost_
 

Detailed Description

Definition at line 297 of file InputSource.h.

Member Typedef Documentation

Definition at line 299 of file InputSource.h.

Constructor & Destructor Documentation

edm::InputSource::FileCloseSentry::FileCloseSentry ( InputSource const &  source)
explicit

Definition at line 640 of file InputSource.cc.

References edm::InputSource::actReg().

640  :
641  post_(source.actReg()->postCloseFileSignal_) {
642  source.actReg()->preCloseFileSignal_("", false);
643  }
edm::InputSource::FileCloseSentry::FileCloseSentry ( InputSource const &  source,
std::string const &  lfn,
bool  primary 
)
explicit

Definition at line 645 of file InputSource.cc.

References edm::InputSource::actReg().

645  :
646  post_(source.actReg()->postCloseFileSignal_) {
647  source.actReg()->preCloseFileSignal_(lfn, usedFallback);
648  }
edm::InputSource::FileCloseSentry::~FileCloseSentry ( )

Definition at line 650 of file InputSource.cc.

650  {
651  post_();
652  }
edm::InputSource::FileCloseSentry::FileCloseSentry ( FileCloseSentry const &  )
delete

Member Function Documentation

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

Member Data Documentation

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

Definition at line 307 of file InputSource.h.