LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
art::CatalogInterface Class Referenceabstract

#include "CatalogInterface.h"

Inheritance diagram for art::CatalogInterface:
art::TrivialFileDelivery

Public Member Functions

virtual ~CatalogInterface () noexcept=default
 
void configure (std::vector< std::string > const &items)
 
int getNextFileURI (std::string &uri, double &waitTime)
 
void updateStatus (std::string const &uri, FileDisposition status)
 
void outputFileClosed (std::string const &module_label, std::string const &fileFQname)
 
void outputFileOpened (std::string const &module_label)
 
void outputModuleInitiated (std::string const &module_label, fhicl::ParameterSet const &pset)
 
void eventSelected (std::string const &module_label, EventID const &event_id, HLTGlobalStatus const &acceptance_info)
 
bool isSearchable ()
 
void rewind ()
 

Private Member Functions

virtual void doConfigure (std::vector< std::string > const &item)=0
 
virtual int doGetNextFileURI (std::string &uri, double &waitTime)=0
 
virtual void doUpdateStatus (std::string const &uri, FileDisposition status)=0
 
virtual void doOutputFileOpened (std::string const &module_label)=0
 
virtual void doOutputModuleInitiated (std::string const &module_label, fhicl::ParameterSet const &pset)=0
 
virtual void doOutputFileClosed (std::string const &module_label, std::string const &fileFQname)=0
 
virtual void doEventSelected (std::string const &module_label, EventID const &event_id, HLTGlobalStatus const &acceptance_info)=0
 
virtual bool doIsSearchable ()=0
 
virtual void doRewind ()=0
 

Detailed Description

Definition at line 28 of file CatalogInterface.h.

Constructor & Destructor Documentation

virtual art::CatalogInterface::~CatalogInterface ( )
virtualdefaultnoexcept

Member Function Documentation

void art::CatalogInterface::configure ( std::vector< std::string > const &  items)
inline

Definition at line 65 of file CatalogInterface.h.

References doConfigure().

66 {
67  CET_ASSERT_ONLY_ONE_THREAD();
68  doConfigure(items);
69 }
virtual void doConfigure(std::vector< std::string > const &item)=0
virtual void art::CatalogInterface::doConfigure ( std::vector< std::string > const &  item)
privatepure virtual

Implemented in art::TrivialFileDelivery.

Referenced by configure().

virtual void art::CatalogInterface::doEventSelected ( std::string const &  module_label,
EventID const &  event_id,
HLTGlobalStatus const &  acceptance_info 
)
privatepure virtual

Implemented in art::TrivialFileDelivery.

Referenced by eventSelected().

virtual int art::CatalogInterface::doGetNextFileURI ( std::string &  uri,
double &  waitTime 
)
privatepure virtual

Implemented in art::TrivialFileDelivery.

Referenced by getNextFileURI().

virtual bool art::CatalogInterface::doIsSearchable ( )
privatepure virtual

Implemented in art::TrivialFileDelivery.

Referenced by isSearchable().

virtual void art::CatalogInterface::doOutputFileClosed ( std::string const &  module_label,
std::string const &  fileFQname 
)
privatepure virtual

Implemented in art::TrivialFileDelivery.

Referenced by outputFileClosed().

virtual void art::CatalogInterface::doOutputFileOpened ( std::string const &  module_label)
privatepure virtual

Implemented in art::TrivialFileDelivery.

Referenced by outputFileOpened().

virtual void art::CatalogInterface::doOutputModuleInitiated ( std::string const &  module_label,
fhicl::ParameterSet const &  pset 
)
privatepure virtual

Implemented in art::TrivialFileDelivery.

Referenced by outputModuleInitiated().

virtual void art::CatalogInterface::doRewind ( )
privatepure virtual

Implemented in art::TrivialFileDelivery.

Referenced by rewind().

virtual void art::CatalogInterface::doUpdateStatus ( std::string const &  uri,
FileDisposition  status 
)
privatepure virtual

Implemented in art::TrivialFileDelivery.

Referenced by updateStatus().

void art::CatalogInterface::eventSelected ( std::string const &  module_label,
EventID const &  event_id,
HLTGlobalStatus const &  acceptance_info 
)
inline

Definition at line 110 of file CatalogInterface.h.

References doEventSelected().

113 {
114  CET_ASSERT_ONLY_ONE_THREAD();
115  doEventSelected(module_label, event_id, acceptance_info);
116 }
virtual void doEventSelected(std::string const &module_label, EventID const &event_id, HLTGlobalStatus const &acceptance_info)=0
int art::CatalogInterface::getNextFileURI ( std::string &  uri,
double &  waitTime 
)
inline

Definition at line 72 of file CatalogInterface.h.

References doGetNextFileURI().

73 {
74  CET_ASSERT_ONLY_ONE_THREAD();
75  return doGetNextFileURI(uri, waitTime);
76 }
virtual int doGetNextFileURI(std::string &uri, double &waitTime)=0
bool art::CatalogInterface::isSearchable ( )
inline

Definition at line 119 of file CatalogInterface.h.

References doIsSearchable().

120 {
121  CET_ASSERT_ONLY_ONE_THREAD();
122  return doIsSearchable();
123 }
virtual bool doIsSearchable()=0
void art::CatalogInterface::outputFileClosed ( std::string const &  module_label,
std::string const &  fileFQname 
)
inline

Definition at line 87 of file CatalogInterface.h.

References doOutputFileClosed().

89 {
90  CET_ASSERT_ONLY_ONE_THREAD();
91  doOutputFileClosed(module_label, fileFQname);
92 }
virtual void doOutputFileClosed(std::string const &module_label, std::string const &fileFQname)=0
void art::CatalogInterface::outputFileOpened ( std::string const &  module_label)
inline

Definition at line 95 of file CatalogInterface.h.

References doOutputFileOpened().

96 {
97  CET_ASSERT_ONLY_ONE_THREAD();
98  doOutputFileOpened(module_label);
99 }
virtual void doOutputFileOpened(std::string const &module_label)=0
void art::CatalogInterface::outputModuleInitiated ( std::string const &  module_label,
fhicl::ParameterSet const &  pset 
)
inline

Definition at line 102 of file CatalogInterface.h.

References doOutputModuleInitiated().

104 {
105  CET_ASSERT_ONLY_ONE_THREAD();
106  doOutputModuleInitiated(module_label, pset);
107 }
virtual void doOutputModuleInitiated(std::string const &module_label, fhicl::ParameterSet const &pset)=0
void art::CatalogInterface::rewind ( )
inline

Definition at line 126 of file CatalogInterface.h.

References DECLARE_ART_SERVICE_INTERFACE, doRewind(), and art::LEGACY.

127 {
128  CET_ASSERT_ONLY_ONE_THREAD();
129  doRewind();
130 }
virtual void doRewind()=0
void art::CatalogInterface::updateStatus ( std::string const &  uri,
FileDisposition  status 
)
inline

Definition at line 79 of file CatalogInterface.h.

References doUpdateStatus().

81 {
82  CET_ASSERT_ONLY_ONE_THREAD();
83  doUpdateStatus(uri, status);
84 }
virtual void doUpdateStatus(std::string const &uri, FileDisposition status)=0

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