![]() |
The Gaudi Framework
v26r4
|
#include <src/component/IoComponentMgr.h>
Classes | |
struct | IoComponentEntry |
Public Member Functions | |
IoComponentMgr (const std::string &name, ISvcLocator *pSvcLocator) | |
Constructor with parameters: More... | |
virtual | ~IoComponentMgr () |
Destructor: More... | |
void | handle (const Incident &) |
virtual bool | io_hasitem (IIoComponent *iocomponent) const |
: check if the registry contains a given IIoComponent More... | |
virtual bool | io_contains (IIoComponent *iocomponent, const std::string &fname) const |
: check if the registry contains a given IIoComponent and that component had More... | |
virtual StatusCode | io_register (IIoComponent *iocomponent) |
: allow a IIoComponent to register itself with this manager so appropriate actions can be taken when e.g. More... | |
virtual StatusCode | io_register (IIoComponent *iocomponent, IIoComponentMgr::IoMode::Type iomode, const std::string &fname, const std::string &pfn) |
: allow a IIoComponent to register itself with this manager so appropriate actions can be taken when e.g. More... | |
virtual StatusCode | io_update (IIoComponent *iocomponent, const std::string &old_fname, const std::string &new_fname) |
: allow a IIoComponent to update the contents of the registry with a new file name More... | |
virtual StatusCode | io_update (IIoComponent *iocomponent, const std::string &work_dir) |
: allow a IIoComponent to update the contents of the registry with a new work directory More... | |
virtual StatusCode | io_update_all (const std::string &work_dir) |
: Update all IIoComponents with a new work directory More... | |
virtual StatusCode | io_retrieve (IIoComponent *iocomponent, std::string &fname) |
: retrieve the new filename for a given IIoComponent and More... | |
virtual StatusCode | io_reinitialize () |
: reinitialize the I/O subsystem. More... | |
virtual StatusCode | io_finalize () |
: finalize the I/O subsystem. More... | |
virtual StatusCode | initialize () |
Gaudi Service Implementation. More... | |
virtual StatusCode | finalize () |
![]() | |
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::map< std::string, IIoComponent * > | IoRegistry_t |
typedef std::list< IIoComponent * > | IoStack_t |
typedef std::multimap< IIoComponent *, IoComponentEntry > | IoDict_t |
typedef IoDict_t::const_iterator | iodITR |
Private Member Functions | |
IoComponentMgr () | |
Default constructor: More... | |
bool | findComp (IIoComponent *, const std::string &, iodITR &) const |
bool | findComp (IIoComponent *, std::pair< iodITR, iodITR > &) const |
bool | findComp (const std::string &, std::pair< iodITR, iodITR > &) const |
std::string | list () const |
Private Attributes | |
MsgStream | m_log |
IoRegistry_t | m_ioregistry |
Registry of IIoComponents . More... | |
IoStack_t | m_iostack |
Stack of IIoComponents to properly handle order of registration. More... | |
IoDict_t | m_cdict |
std::string | m_dict_location |
location of the python dictionary More... | |
Additional Inherited Members | |
![]() | |
typedef extends | base_class |
Typedef to this class. More... | |
typedef extend_interfaces< Interfaces...> | extend_interfaces_base |
Typedef to the base of this class. More... | |
typedef extends | base_class |
Typedef to this class. More... | |
typedef extend_interfaces< Interfaces...> | extend_interfaces_base |
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... | |
Definition at line 28 of file IoComponentMgr.h.
|
private |
Definition at line 194 of file IoComponentMgr.h.
|
private |
Definition at line 195 of file IoComponentMgr.h.
|
private |
Definition at line 184 of file IoComponentMgr.h.
|
private |
Definition at line 188 of file IoComponentMgr.h.
IoComponentMgr::IoComponentMgr | ( | const std::string & | name, |
ISvcLocator * | pSvcLocator | ||
) |
|
virtual |
|
private |
Default constructor:
|
virtual |
Definition at line 102 of file IoComponentMgr.cpp.
|
private |
Definition at line 480 of file IoComponentMgr.cpp.
|
private |
Definition at line 497 of file IoComponentMgr.cpp.
|
private |
Definition at line 507 of file IoComponentMgr.cpp.
void IoComponentMgr::handle | ( | const Incident & | i | ) |
Definition at line 535 of file IoComponentMgr.cpp.
|
virtual |
Definition at line 77 of file IoComponentMgr.cpp.
|
virtual |
: check if the registry contains a given IIoComponent
and that component had
<tt>fname</tt> | as a filename |
Definition at line 129 of file IoComponentMgr.cpp.
|
virtual |
: finalize the I/O subsystem.
Hook to allow to e.g. give a chance to I/O subsystems to merge output files. Not sure how to do this correctly though...
Definition at line 448 of file IoComponentMgr.cpp.
|
virtual |
: check if the registry contains a given IIoComponent
Definition at line 113 of file IoComponentMgr.cpp.
|
virtual |
: allow a IIoComponent
to register itself with this manager so appropriate actions can be taken when e.g.
a fork(2)
has been issued (this is usually handled by calling IIoComponent::io_reinit
on every registered component)
Definition at line 170 of file IoComponentMgr.cpp.
|
virtual |
: allow a IIoComponent
to register itself with this manager so appropriate actions can be taken when e.g.
a fork(2)
has been issued (this is usually handled by calling IIoComponent::io_reinit
on every registered component)
Definition at line 201 of file IoComponentMgr.cpp.
|
virtual |
: reinitialize the I/O subsystem.
This effectively calls IIoComponent::io_reinit
on all the registered IIoComponent
.
Definition at line 306 of file IoComponentMgr.cpp.
|
virtual |
: retrieve the new filename for a given IIoComponent
and
<tt>fname</tt> | filename |
<tt>oldfname</tt> | filename |
Definition at line 261 of file IoComponentMgr.cpp.
|
virtual |
: allow a IIoComponent
to update the contents of the registry with a new file name
Definition at line 342 of file IoComponentMgr.cpp.
|
virtual |
: allow a IIoComponent
to update the contents of the registry with a new work directory
Definition at line 368 of file IoComponentMgr.cpp.
|
virtual |
: Update all IIoComponents
with a new work directory
Definition at line 425 of file IoComponentMgr.cpp.
|
private |
Definition at line 520 of file IoComponentMgr.cpp.
|
private |
Definition at line 197 of file IoComponentMgr.h.
|
private |
location of the python dictionary
Definition at line 200 of file IoComponentMgr.h.
|
private |
Registry of IIoComponents
.
Definition at line 186 of file IoComponentMgr.h.
|
private |
Stack of IIoComponents
to properly handle order of registration.
Definition at line 190 of file IoComponentMgr.h.
|
mutableprivate |
Definition at line 182 of file IoComponentMgr.h.