![]() |
The Gaudi Framework
v27r0
|
#include <src/FileMgr/FileMgr.h>
Public Member Functions | |
FileMgr (const std::string &name, ISvcLocator *svc) | |
~FileMgr () override | |
StatusCode | initialize () override |
StatusCode | finalize () override |
void | handle (const Incident &) override |
StatusCode | regHandler (FileHdlr) override |
StatusCode | hasHandler (const IoTech &) const override |
StatusCode | deregHandler (const IoTech &) override |
StatusCode | getHandler (const IoTech &, FileHdlr &) const override |
StatusCode | getHandler (const std::string &, FileHdlr &) const override |
int | getFileAttr (const std::string &, std::vector< const FileAttr * > &) const override |
StatusCode | getFileAttr (const Fd, const FileAttr *&) const override |
StatusCode | getFileAttr (void *, const FileAttr *&) const override |
void | listHandlers () const override |
void | listFiles () const override |
virtual void | listActions () const |
virtual void | listSuppression () const |
int | getFiles (std::vector< std::string > &, bool onlyOpen=true) const override |
int | getFiles (std::vector< const Io::FileAttr * > &, bool onlyOpen=true) const override |
int | getFiles (const Io::IoTech &, std::vector< std::string > &, bool onlyOpen=true) const override |
int | getFiles (const Io::IoTech &, std::vector< const Io::FileAttr * > &, bool onlyOpen=true) const override |
int | getFiles (const Io::IoTech &, const Io::IoFlags &, std::vector< std::string > &, bool onlyOpen=true) const override |
int | getFiles (const Io::IoTech &, const Io::IoFlags &, std::vector< const Io::FileAttr * > &, bool onlyOpen=true) const override |
int | getFd (std::vector< Fd > &) const override |
int | getFd (const Io::IoTech &, std::vector< Io::Fd > &) const override |
int | getFd (const Io::IoTech &, const Io::IoFlags &, std::vector< Io::Fd > &) const override |
const std::string & | fname (const Io::Fd &) const override |
const std::string & | fname (void *) const override |
Io::Fd | fd (const std::string &) const override |
Io::Fd | fd (void *) const override |
void * | fptr (const std::string &) const override |
void * | fptr (const Io::Fd &) const override |
int | getLastError (std::string &) const override |
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 |
Io::open_t | open (const Io::IoTech &, const std::string &caller, const std::string &fname, const Io::IoFlags &, Io::Fd &, const std::string &desc="", const bool shared=false) override |
Io::open_t | open (const Io::IoTech &, const std::string &caller, const std::string &fname, const Io::IoFlags &, void *&, const std::string &desc="", const bool shared=false) override |
Io::close_t | close (const Fd, const std::string &caller) override |
Io::close_t | close (void *, const std::string &caller) override |
Io::reopen_t | reopen (const Fd, const IoFlags &, const std::string &caller) override |
Io::reopen_t | reopen (void *, const IoFlags &, const std::string &caller) override |
StatusCode | regAction (Io::bfcn_action_t, const Io::Action &, const std::string &desc="") override |
StatusCode | regAction (Io::bfcn_action_t, const Io::Action &, const Io::IoTech &, const std::string &desc="") override |
void | suppressAction (const std::string &) override |
void | suppressAction (const std::string &, const Io::Action &) override |
![]() | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
~extends () override=default | |
Virtual destructor. More... | |
![]() | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
Private Types | |
typedef std::pair< Io::bfcn_action_t, std::string > | bfcn_desc_t |
typedef std::map< Io::Action, std::list< bfcn_desc_t > > | actionMap |
typedef std::multimap< std::string, FileAttr * > | fileMap |
typedef std::map< std::string, int > | supMap |
Private Member Functions | |
virtual Io::open_t | open (const IoTech &, const std::string &caller, const std::string &fname, const std::string &desc, const IoFlags &, Fd &, void *&, const bool shared) |
StatusCode | execAction (Io::FileAttr *, const std::string &, const Io::Action &) const |
StatusCode | execActs (Io::FileAttr *, const std::string &, const Io::Action &, const actionMap &m) const |
bool | accessMatch (const Io::IoFlags &, const Io::IoFlags &, bool strict=false) const |
bool | isShareable (const std::string &filename, const Io::IoFlags &) const |
Private Attributes | |
StringProperty | m_logfile |
BooleanProperty | m_printSummary |
BooleanProperty | m_loadRootHandler |
BooleanProperty | m_loadPosixHandler |
StringProperty | m_ssl_proxy |
StringProperty | m_ssl_cert |
fileMap | m_files |
std::map< IoTech, FileHdlr > | m_handlers |
std::map< Fd, FileAttr * > | m_descriptors |
std::vector< std::unique_ptr< FileAttr > > | m_attr |
std::vector< FileAttr * > | m_oldFiles |
std::map< IoTech, actionMap > | m_actions |
supMap | m_supMap |
std::string | m_lastErrS |
int | m_lastErr |
std::unique_ptr< RootFileHandler > | m_rfh |
std::unique_ptr< POSIXFileHandler > | m_pfh |
MsgStream | m_log |
Additional Inherited Members | |
![]() | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
![]() | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
|
private |
|
private |
|
private |
|
private |
FileMgr::FileMgr | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
Definition at line 78 of file FileMgr.cpp.
|
override |
Definition at line 97 of file FileMgr.cpp.
|
private |
Definition at line 1499 of file FileMgr.cpp.
|
override |
|
override |
Definition at line 685 of file FileMgr.cpp.
|
override |
Definition at line 325 of file FileMgr.cpp.
|
private |
Definition at line 1420 of file FileMgr.cpp.
|
private |
Definition at line 1445 of file FileMgr.cpp.
|
override |
Definition at line 1235 of file FileMgr.cpp.
|
override |
Definition at line 1247 of file FileMgr.cpp.
|
override |
Definition at line 202 of file FileMgr.cpp.
|
override |
Definition at line 1212 of file FileMgr.cpp.
|
override |
Definition at line 1223 of file FileMgr.cpp.
|
override |
Definition at line 1258 of file FileMgr.cpp.
|
override |
Definition at line 1269 of file FileMgr.cpp.
|
override |
|
override |
Definition at line 1179 of file FileMgr.cpp.
|
override |
Definition at line 1197 of file FileMgr.cpp.
|
override |
Definition at line 974 of file FileMgr.cpp.
|
override |
|
override |
Definition at line 1014 of file FileMgr.cpp.
|
override |
Definition at line 1037 of file FileMgr.cpp.
|
override |
Definition at line 1056 of file FileMgr.cpp.
|
override |
Definition at line 1071 of file FileMgr.cpp.
|
override |
Definition at line 1094 of file FileMgr.cpp.
|
override |
Definition at line 1116 of file FileMgr.cpp.
|
override |
Definition at line 1140 of file FileMgr.cpp.
|
override |
|
override |
Definition at line 1321 of file FileMgr.cpp.
|
override |
Definition at line 1295 of file FileMgr.cpp.
|
override |
Definition at line 271 of file FileMgr.cpp.
|
override |
Definition at line 343 of file FileMgr.cpp.
|
override |
Definition at line 106 of file FileMgr.cpp.
|
private |
|
virtual |
Definition at line 1391 of file FileMgr.cpp.
|
override |
Definition at line 1280 of file FileMgr.cpp.
|
override |
Definition at line 1352 of file FileMgr.cpp.
|
virtual |
Definition at line 1541 of file FileMgr.cpp.
|
override |
Definition at line 353 of file FileMgr.cpp.
|
override |
Definition at line 364 of file FileMgr.cpp.
|
override |
Definition at line 376 of file FileMgr.cpp.
|
privatevirtual |
|
override |
Definition at line 1365 of file FileMgr.cpp.
|
override |
Definition at line 1374 of file FileMgr.cpp.
|
override |
Definition at line 278 of file FileMgr.cpp.
|
override |
Definition at line 894 of file FileMgr.cpp.
|
override |
Definition at line 1516 of file FileMgr.cpp.
|
override |
Definition at line 1525 of file FileMgr.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |