1 #ifndef art_Framework_Services_FileServiceInterfaces_CatalogInterface_h 2 #define art_Framework_Services_FileServiceInterfaces_CatalogInterface_h 18 #include "hep_concurrency/assert_only_one_thread.h" 24 class CatalogInterface;
26 class HLTGlobalStatus;
33 void configure(std::vector<std::string>
const& items);
37 std::string
const& fileFQname);
48 virtual void doConfigure(std::vector<std::string>
const& item) = 0;
56 std::string
const& fileFQname) = 0;
67 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
74 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
81 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
87 std::string
const& fileFQname)
89 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
96 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
104 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
113 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
120 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
127 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
virtual void doEventSelected(std::string const &module_label, EventID const &event_id, HLTGlobalStatus const &acceptance_info)=0
void updateStatus(std::string const &uri, FileDisposition status)
void outputModuleInitiated(std::string const &module_label, fhicl::ParameterSet const &pset)
void configure(std::vector< std::string > const &items)
virtual void doOutputFileClosed(std::string const &module_label, std::string const &fileFQname)=0
virtual int doGetNextFileURI(std::string &uri, double &waitTime)=0
virtual void doOutputModuleInitiated(std::string const &module_label, fhicl::ParameterSet const &pset)=0
virtual void doConfigure(std::vector< std::string > const &item)=0
virtual void doUpdateStatus(std::string const &uri, FileDisposition status)=0
virtual bool doIsSearchable()=0
virtual void doRewind()=0
void outputFileClosed(std::string const &module_label, std::string const &fileFQname)
int getNextFileURI(std::string &uri, double &waitTime)
virtual ~CatalogInterface() noexcept=default
virtual void doOutputFileOpened(std::string const &module_label)=0
void eventSelected(std::string const &module_label, EventID const &event_id, HLTGlobalStatus const &acceptance_info)
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
void outputFileOpened(std::string const &module_label)