Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::detail::FileServiceProxy Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v3_05_01/source/art/Framework/IO/Sources/detail/FileServiceProxy.h"

Classes

struct  FileEntity
 

Public Member Functions

 FileServiceProxy (std::vector< std::string > &&fileNames, size_t attempts=5, double waitBetweenAttempts=5.0)
 
 ~FileServiceProxy ()
 
std::string next ()
 
void finish ()
 

Private Member Functions

std::string obtainURI_ ()
 
std::string obtainFileFromURI_ ()
 

Private Attributes

ServiceHandle< CatalogInterfaceci_ {}
 
ServiceHandle< FileTransferft_ {}
 
struct art::detail::FileServiceProxy::FileEntity currentItem_
 
size_t const attemptsPerPhase_
 
double const waitBetweenAttempts_
 

Detailed Description

Definition at line 18 of file FileServiceProxy.h.

Constructor & Destructor Documentation

art::detail::FileServiceProxy::FileServiceProxy ( std::vector< std::string > &&  fileNames,
size_t  attempts = 5,
double  waitBetweenAttempts = 5.0 
)
explicit
art::detail::FileServiceProxy::~FileServiceProxy ( )

Member Function Documentation

void art::detail::FileServiceProxy::finish ( )

Referenced by next().

std::string art::detail::FileServiceProxy::next ( )
inline

Definition at line 49 of file FileServiceProxy.h.

References finish(), and obtainURI_().

50 {
51  finish();
52  return obtainURI_();
53 }
std::string art::detail::FileServiceProxy::obtainFileFromURI_ ( )
private
std::string art::detail::FileServiceProxy::obtainURI_ ( )
private

Referenced by next().

Member Data Documentation

size_t const art::detail::FileServiceProxy::attemptsPerPhase_
private

Definition at line 44 of file FileServiceProxy.h.

ServiceHandle<CatalogInterface> art::detail::FileServiceProxy::ci_ {}
private

Definition at line 32 of file FileServiceProxy.h.

struct art::detail::FileServiceProxy::FileEntity art::detail::FileServiceProxy::currentItem_
private
ServiceHandle<FileTransfer> art::detail::FileServiceProxy::ft_ {}
private

Definition at line 33 of file FileServiceProxy.h.

double const art::detail::FileServiceProxy::waitBetweenAttempts_
private

Definition at line 45 of file FileServiceProxy.h.


The documentation for this class was generated from the following file: