1 #ifndef art_Framework_Services_FileServiceInterfaces_CatalogInterface_h 2 #define art_Framework_Services_FileServiceInterfaces_CatalogInterface_h 16 #include "cetlib/assert_only_one_thread.h" 23 class CatalogInterface;
25 class HLTGlobalStatus;
32 void configure(std::vector<std::string>
const& items);
36 std::string
const& fileFQname);
48 virtual void doConfigure(std::vector<std::string>
const& item) = 0;
56 std::string
const& fileFQname) = 0;
67 CET_ASSERT_ONLY_ONE_THREAD();
74 CET_ASSERT_ONLY_ONE_THREAD();
82 CET_ASSERT_ONLY_ONE_THREAD();
88 std::string
const& fileFQname)
90 CET_ASSERT_ONLY_ONE_THREAD();
97 CET_ASSERT_ONLY_ONE_THREAD();
105 CET_ASSERT_ONLY_ONE_THREAD();
114 CET_ASSERT_ONLY_ONE_THREAD();
121 CET_ASSERT_ONLY_ONE_THREAD();
128 CET_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
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
void eventSelected(std::string const &module_label, EventID const &event_id, HLTGlobalStatus const &acceptance_info)
void outputFileOpened(std::string const &module_label)