44 using extends::extends;
86 const std::string& pfn )
override;
92 const std::string& new_fname )
override;
143 return os <<
"old: \"" << c.m_oldfname <<
"\" absolute path: \"" << c.m_oldabspath <<
"\" new: \""
160 typedef std::multimap<IIoComponent*, IoComponentEntry>
IoDict_t;
174 "Search patterns for direct I/O input names" };
178 bool findComp(
const std::string&, std::pair<iodITR, iodITR>& )
const;
180 std::string
list()
const;
Implementation of property with value of concrete type.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Base class for all Incidents (computing events).
bool io_hasitem(IIoComponent *iocomponent) const override
: check if the registry contains a given IIoComponent
StatusCode io_register(IIoComponent *iocomponent) override
: allow a IIoComponent to register itself with this manager so appropriate actions can be taken when ...
Gaudi::Property< std::vector< std::string > > m_directio_patterns
search patterns for special file names (direct I/O protocols)
std::multimap< IIoComponent *, IoComponentEntry > IoDict_t
std::list< IIoComponent * > IoStack_t
StatusCode finalize() override
IoComponentMgr()=delete
Default constructor:
StatusCode io_update_all(const std::string &work_dir) override
: Update all IIoComponents with a new work directory
StatusCode initialize() override
Gaudi Service Implementation.
std::vector< std::string > io_retrieve(IIoComponent *iocomponent) override
: retrieve all registered filenames for a given IIoComponent
bool findComp(IIoComponent *, const std::string &, iodITR &) const
IoDict_t::const_iterator iodITR
std::string m_dict_location
location of the python dictionary
StatusCode io_update(IIoComponent *iocomponent, const std::string &old_fname, const std::string &new_fname) override
: allow a IIoComponent to update the contents of the registry with a new file name
StatusCode io_reinitialize() override
: reinitialize the I/O subsystem.
bool io_contains(IIoComponent *iocomponent, const std::string &fname) const override
: check if the registry contains a given IIoComponent and that component had
IoRegistry_t m_ioregistry
Registry of IIoComponents.
IoStack_t m_iostack
Stack of IIoComponents to properly handle order of registration.
StatusCode io_finalize() override
: finalize the I/O subsystem.
std::map< std::string, IIoComponent * > IoRegistry_t
void handle(const Incident &) override
This class is used for returning status codes from appropriate routines.
Base class used to extend a class implementing other interfaces.
IoComponentEntry()=default
IoComponentEntry(const std::string &f, const std::string &p, const IIoComponentMgr::IoMode::Type &t)
friend std::ostream & operator<<(std::ostream &os, const IoComponentEntry &c)
friend bool operator<(const IoComponentEntry &lhs, const IoComponentEntry &rhs)
IIoComponentMgr::IoMode::Type m_iomode