8 #ifndef GAUDISVC_FILEMGR_H 9 #define GAUDISVC_FILEMGR_H 1 20 #include "boost/optional.hpp" 39 using extends::extends;
70 bool onlyOpen =
true )
const override;
91 Io::Fd& fd,
void*& ptr,
const std::string& desc =
"",
const bool shared =
false )
override;
95 const std::string& desc =
"",
const bool shared =
false )
override;
99 const std::string& desc =
"",
const bool shared =
false )
override;
151 boost::optional<RootFileHandler>
m_rfh;
152 boost::optional<POSIXFileHandler>
m_pfh;
std::vector< std::unique_ptr< FileAttr > > m_attr
StatusCode regHandler(FileHdlr) override
void listHandlers() const override
int getFileAttr(const std::string &, std::vector< const FileAttr * > &) const override
void listFiles() const override
std::pair< Io::bfcn_action_t, std::string > bfcn_desc_t
StatusCode hasHandler(const IoTech &) const override
Implementation of property with value of concrete type.
std::map< std::string, Io::Action_bitmap > m_supMap
Io::open_t open(const Io::IoTech &, const std::string &caller, const std::string &fname, const Io::IoFlags &, Io::Fd &fd, void *&ptr, const std::string &desc="", const bool shared=false) override
Gaudi::Property< bool > m_loadPosixHandler
void suppressAction(const std::string &) override
int getFiles(std::vector< std::string > &, bool onlyOpen=true) const override
std::map< Io::Action, std::list< bfcn_desc_t > > actionMap
StatusCode deregHandler(const IoTech &) override
StatusCode execAction(Io::FileAttr *, const std::string &, const Io::Action &) const
std::map< Fd, FileAttr * > m_descriptors
bool accessMatch(const Io::IoFlags &, const Io::IoFlags &, bool strict=false) const
virtual void listActions() const
Io::Fd fd(const std::string &) const override
std::map< IoTech, FileHdlr > m_handlers
Gaudi::Property< bool > m_loadRootHandler
void handle(const Incident &) override
StatusCode getHandler(const IoTech &, FileHdlr &) const override
This class is used for returning status codes from appropriate routines.
boost::optional< RootFileHandler > m_rfh
Io::reopen_t reopen(const Fd, const IoFlags &, const std::string &caller) override
StatusCode execActs(Io::FileAttr *, const std::string &, const Io::Action &, const actionMap &m) const
Io::close_t close(const Fd, const std::string &caller) override
StatusCode regAction(Io::bfcn_action_t, const Io::Action &, const std::string &desc="") override
std::multimap< std::string, FileAttr * > fileMap
std::vector< FileAttr * > m_oldFiles
Base class used to extend a class implementing other interfaces.
virtual void listSuppression() const
boost::optional< POSIXFileHandler > m_pfh
Base class for all Incidents (computing events).
bool isShareable(const std::string &filename, const Io::IoFlags &) const
Gaudi::Property< std::string > m_ssl_proxy
std::map< IoTech, actionMap > m_actions
const std::string & fname(const Io::Fd &) const override
Gaudi::Property< bool > m_printSummary
Gaudi::Property< std::string > m_logfile
int getFd(std::vector< Fd > &) const override
StatusCode finalize() override
Gaudi::Property< std::string > m_ssl_cert
StatusCode initialize() override
int getLastError(std::string &) const override
void * fptr(const std::string &) const override