6 #ifndef GAUDIMP_IOCOMPONENTMGR_H 7 #define GAUDIMP_IOCOMPONENTMGR_H 1 35 using extends::extends;
126 : m_oldfname( f ), m_oldabspath( p ), m_newfname(
"" ), m_iomode( t )
130 : m_oldfname( rhs.m_oldfname )
131 , m_oldabspath( rhs.m_oldabspath )
132 , m_newfname( rhs.m_newfname )
133 , m_iomode( rhs.m_iomode )
179 "Search patterns for direct I/O input names"};
188 #endif //> !GAUDIMP_IOCOMPONENTMGR_H StatusCode finalize() override
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Implementation of property with value of concrete type.
bool io_contains(IIoComponent *iocomponent, const std::string &fname) const override
: check if the registry contains a given IIoComponent and that component had
IoDict_t::const_iterator iodITR
std::map< std::string, IIoComponent * > IoRegistry_t
IoRegistry_t m_ioregistry
Registry of IIoComponents.
bool operator<(IoComponentEntry const &rhs) const
std::list< IIoComponent * > IoStack_t
void handle(const Incident &) override
IoComponentMgr()=delete
Default constructor:
StatusCode initialize() override
Gaudi Service Implementation.
bool findComp(IIoComponent *, const std::string &, iodITR &) const
std::multimap< IIoComponent *, IoComponentEntry > IoDict_t
IoComponentEntry(const std::string &f, const std::string &p, const IIoComponentMgr::IoMode::Type &t)
This class is used for returning status codes from appropriate routines.
StatusCode io_register(IIoComponent *iocomponent) override
: allow a IIoComponent to register itself with this manager so appropriate actions can be taken when ...
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 ...
std::string m_dict_location
location of the python dictionary
IIoComponentMgr::IoMode::Type m_iomode
Base class used to extend a class implementing other interfaces.
StatusCode io_update_all(const std::string &work_dir) override
: Update all IIoComponents with a new work directory
Base class for all Incidents (computing events).
Gaudi::Property< std::vector< std::string > > m_directio_patterns
search patterns for special file names (direct I/O protocols)
IoComponentEntry(const IoComponentEntry &rhs)
StatusCode io_retrieve(IIoComponent *iocomponent, std::string &fname) override
: retrieve the new filename for a given IIoComponent and
StatusCode io_finalize() override
: finalize the I/O subsystem.
StatusCode io_reinitialize() override
: reinitialize the I/O subsystem.
IoStack_t m_iostack
Stack of IIoComponents to properly handle order of registration.
friend std::ostream & operator<<(std::ostream &os, const IoComponentEntry &c)
bool io_hasitem(IIoComponent *iocomponent) const override
: check if the registry contains a given IIoComponent