Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:27:36

0001 #ifndef FWCore_Catalog_SiteLocalConfig_h
0002 #define FWCore_Catalog_SiteLocalConfig_h
0003 ////////////////////////////////////////////////////////////
0004 //
0005 // Abstract class. dataCatalogs() returns multiple data catalogs from site-local-config.xml. It is overridden in derived classes.
0006 //
0007 ////////////////////////////////////////////////////////////
0008 
0009 // INCLUDES
0010 #include <set>
0011 #include <string>
0012 #include <vector>
0013 #include <netdb.h>
0014 
0015 // PUBLIC DEFINES
0016 // PUBLIC CONSTANTS
0017 // PUBLIC TYPES
0018 namespace edm {
0019   class ParameterSet;
0020   class ActivityRegistry;
0021 }  // namespace edm
0022 
0023 // PUBLIC VARIABLES
0024 // PUBLIC FUNCTIONS
0025 // CLASS DECLARATIONS
0026 
0027 namespace edm {
0028   class SiteLocalConfig {
0029   public:
0030     SiteLocalConfig() {}
0031     virtual ~SiteLocalConfig() {}
0032 
0033     virtual std::vector<std::string> const& dataCatalogs(void) const = 0;
0034     virtual std::string const lookupCalibConnect(std::string const& input) const = 0;
0035     virtual std::string const rfioType(void) const = 0;
0036 
0037     virtual std::string const* sourceCacheTempDir() const = 0;
0038     virtual double const* sourceCacheMinFree() const = 0;
0039     virtual std::string const* sourceCacheHint() const = 0;
0040     virtual std::string const* sourceCloneCacheHint() const = 0;
0041     virtual std::string const* sourceReadHint() const = 0;
0042     virtual unsigned int const* sourceTTreeCacheSize() const = 0;
0043     virtual unsigned int const* sourceTimeout() const = 0;
0044     virtual bool enablePrefetching() const = 0;
0045     virtual unsigned int debugLevel() const = 0;
0046     virtual std::vector<std::string> const* sourceNativeProtocols() const = 0;
0047     virtual struct addrinfo const* statisticsDestination() const = 0;
0048     virtual std::set<std::string> const* statisticsInfo() const = 0;
0049     virtual std::string const& siteName(void) const = 0;
0050     virtual bool useLocalConnectString() const = 0;
0051     virtual std::string const& localConnectPrefix() const = 0;
0052     virtual std::string const& localConnectSuffix() const = 0;
0053 
0054     // implicit copy constructor
0055     // implicit assignment operator
0056   private:
0057   };
0058 }  // namespace edm
0059 
0060 // INLINE PUBLIC FUNCTIONS
0061 // INLINE MEMBER FUNCTIONS
0062 
0063 #endif  //FWCore_Catalog_SiteLocalConfig_h