|
Gaudi Framework, version v23r6 |
| Home | Generated: Wed Jan 30 2013 |
#include <IoComponentMgr.h>


Public Member Functions | |
| IoComponentMgr (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor with parameters: | |
| virtual | ~IoComponentMgr () |
| Destructor: | |
| virtual bool | io_hasitem (IIoComponent *iocomponent) const |
: check if the registry contains a given IIoComponent | |
| virtual bool | io_contains (IIoComponent *iocomponent, const std::string &fname) const |
: check if the registry contains a given IIoComponent and that component had | |
| virtual StatusCode | io_register (IIoComponent *iocomponent) |
: allow a IIoComponent to register itself with this manager so appropriate actions can be taken when e.g. | |
| virtual StatusCode | io_register (IIoComponent *iocomponent, IIoComponentMgr::IoMode::Type iomode, const std::string &fname) |
: allow a IIoComponent to register itself with this manager so appropriate actions can be taken when e.g. | |
| virtual StatusCode | io_retrieve (IIoComponent *iocomponent, std::string &fname) |
: retrieve the new filename for a given IIoComponent and | |
| virtual StatusCode | io_reinitialize () |
| : reinitialize the I/O subsystem. | |
| virtual StatusCode | io_finalize () |
| : finalize the I/O subsystem. | |
| virtual StatusCode | initialize () |
| Gaudi Service Implementation. | |
| virtual StatusCode | finalize () |
Public Member Functions inherited from extends1< Service, IIoComponentMgr > | |
| extends1 (A1 a1, A2 a2, A3 a3) | |
| Templated constructor with 3 arguments. | |
| extends1 (A1 a1, A2 a2) | |
| Templated constructor with 2 arguments. | |
| extends1 (A1 a1) | |
| Templated constructor with 1 argument. | |
| extends1 () | |
| Default constructor. | |
| virtual void * | i_cast (const InterfaceID &tid) const |
| Implementation of IInterface::i_cast. | |
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp) |
| Implementation of IInterface::queryInterface. | |
| virtual std::vector< std::string > | getInterfaceNames () const |
| Implementation of IInterface::getInterfaceNames. | |
| virtual | ~extends1 () |
| Virtual destructor. | |
Public Member Functions inherited from Service | |
| virtual unsigned long | release () |
| Release Interface instance. | |
| virtual const std::string & | name () const |
| Retrieve name of the service. | |
| virtual StatusCode | configure () |
| virtual StatusCode | start () |
| virtual StatusCode | stop () |
| virtual StatusCode | terminate () |
| virtual Gaudi::StateMachine::State | FSMState () const |
| virtual Gaudi::StateMachine::State | targetFSMState () const |
| virtual StatusCode | reinitialize () |
| virtual StatusCode | restart () |
| virtual StatusCode | sysInitialize () |
| Initialize Service. | |
| virtual StatusCode | sysStart () |
| Initialize Service. | |
| virtual StatusCode | sysStop () |
| Initialize Service. | |
| virtual StatusCode | sysFinalize () |
| Finalize Service. | |
| virtual StatusCode | sysReinitialize () |
| Re-initialize the Service. | |
| virtual StatusCode | sysRestart () |
| Re-initialize the Service. | |
| virtual StatusCode | setProperty (const Property &p) |
| virtual StatusCode | setProperty (const std::string &s) |
| virtual StatusCode | setProperty (const std::string &n, const std::string &v) |
| virtual StatusCode | getProperty (Property *p) const |
| virtual const Property & | getProperty (const std::string &name) const |
| virtual StatusCode | getProperty (const std::string &n, std::string &v) const |
| virtual const std::vector < Property * > & | getProperties () const |
| template<class TYPE > | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value | |
| Service (const std::string &name, ISvcLocator *svcloc) | |
| Standard Constructor. | |
| SmartIF< ISvcLocator > & | serviceLocator () const |
| Retrieve pointer to service locator. | |
| StatusCode | setProperties () |
| Method for setting declared properties to the values specified for the job. | |
| template<class T > | |
| StatusCode | service (const std::string &name, const T *&psvc, bool createIf=true) const |
| Access a service by name, creating it if it doesn't already exist. | |
| template<class T > | |
| StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
| template<class T > | |
| StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
| Access a service by name and type, creating it if it doesn't already exist. | |
| template<class T > | |
| Property * | declareProperty (const std::string &name, T &property, const std::string &doc="none") const |
| Declare the named property. | |
| Property * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") const |
| Declare remote named properties. | |
| SmartIF< IAuditorSvc > & | auditorSvc () const |
| The standard auditor service.May not be invoked before sysInitialize() has been invoked. | |
Public Member Functions inherited from CommonMessaging< implements3< IService, IProperty, IStateful > > | |
| CommonMessaging (const A1 &a1, const A2 &a2, const A3 &a3) | |
| Templated constructor with 3 arguments. | |
| CommonMessaging (const A1 &a1, const A2 &a2) | |
| Templated constructor with 2 arguments. | |
| CommonMessaging (const A1 &a1) | |
| Templated constructor with 1 argument. | |
| CommonMessaging () | |
| Default constructor. | |
| virtual | ~CommonMessaging () |
| Virtual destructor. | |
| SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. | |
| MsgStream & | msgStream () const |
| Return an uninitialized MsgStream. | |
| MsgStream & | msgStream (const MSG::Level level) const |
| Predefined configurable message stream for the efficient printouts. | |
| MsgStream & | always () const |
| shortcut for the method msgStream(MSG::ALWAYS) | |
| MsgStream & | fatal () const |
| shortcut for the method msgStream(MSG::FATAL) | |
| MsgStream & | err () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | error () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | warning () const |
| shortcut for the method msgStream(MSG::WARNING) | |
| MsgStream & | info () const |
| shortcut for the method msgStream(MSG::INFO) | |
| MsgStream & | debug () const |
| shortcut for the method msgStream(MSG::DEBUG) | |
| MsgStream & | verbose () const |
| shortcut for the method msgStream(MSG::VERBOSE) | |
| MsgStream & | msg () const |
| shortcut for the method msgStream(MSG::INFO) | |
| MSG::Level | msgLevel () const |
| get the output level from the embedded MsgStream | |
| bool | msgLevel (MSG::Level lvl) const |
| get the output level from the embedded MsgStream | |
Public Member Functions inherited from extend_interfaces1< IIoComponentMgr > | |
| virtual | ~extend_interfaces1 () |
| Virtual destructor. | |
Public Member Functions inherited from IIoComponentMgr | |
| DeclareInterfaceID (IIoComponentMgr, 1, 0) | |
| virtual | ~IIoComponentMgr () |
| Destructor: | |
Public Member Functions inherited from INamedInterface | |
| DeclareInterfaceID (INamedInterface, 1, 0) | |
| InterfaceID. | |
| virtual const std::string & | name () const =0 |
| Retrieve the name of the instance. | |
| virtual | ~INamedInterface () |
| Virtual destructor (always needed for abstract classes). | |
Public Member Functions inherited from IInterface | |
| virtual unsigned long | addRef ()=0 |
| Increment the reference count of Interface instance. | |
| virtual unsigned long | release ()=0 |
| Release Interface instance. | |
| virtual unsigned long | refCount () const =0 |
| Current reference count. | |
| virtual | ~IInterface () |
| Virtual destructor. | |
Private Types | |
| typedef std::map< std::string, IIoComponent * > | IoRegistry_t |
| typedef std::list< IIoComponent * > | IoStack_t |
Private Member Functions | |
| IoComponentMgr () | |
| Default constructor: | |
Private Attributes | |
| MsgStream | m_log |
| IoRegistry_t | m_ioregistry |
Registry of IIoComponents. | |
| IoStack_t | m_iostack |
Stack of IIoComponents to properly handle order of registration. | |
| PyObject * | m_dict |
| pointer to a python dictionary holding the associations: { 'iocomp-name' : { 'oldfname' : [ 'iomode', 'newfname' ] } } | |
| std::string | m_dict_location |
| location of the python dictionary | |
Friends | |
| class | SvcFactory< IoComponentMgr > |
Additional Inherited Members | |
Public Types inherited from extends1< Service, IIoComponentMgr > | |
| typedef extends1 | base_class |
| Typedef to this class. | |
| typedef extend_interfaces1 < IIoComponentMgr > | extend_interfaces_base |
| Typedef to the base of this class. | |
| typedef extend_interfaces_base::ext_iids | interfaces |
| MPL set of all the implemented interfaces. | |
Static Public Member Functions inherited from IInterface | |
| static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface. | |
Protected Member Functions inherited from Service | |
| virtual | ~Service () |
| Standard Destructor. | |
| int | outputLevel () const |
get the Service's output level | |
Protected Attributes inherited from Service | |
| IntegerProperty | m_outputLevel |
| Service output level. | |
| Gaudi::StateMachine::State | m_state |
| Service state. | |
| Gaudi::StateMachine::State | m_targetState |
| Service state. | |
Definition at line 29 of file IoComponentMgr.h.
|
private |
Definition at line 127 of file IoComponentMgr.h.
|
private |
Definition at line 131 of file IoComponentMgr.h.
| IoComponentMgr::IoComponentMgr | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator | ||
| ) |
Constructor with parameters:
Definition at line 29 of file IoComponentMgr.cpp.
|
virtual |
|
private |
Default constructor:
|
virtual |
Reimplemented from Service.
Definition at line 134 of file IoComponentMgr.cpp.
|
virtual |
Reimplemented from Service.
Definition at line 58 of file IoComponentMgr.cpp.
|
virtual |
: check if the registry contains a given IIoComponent and that component had
| <tt>fname</tt> | as a filename |
Implements IIoComponentMgr.
Definition at line 176 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...
Implements IIoComponentMgr.
Definition at line 452 of file IoComponentMgr.cpp.
|
virtual |
: check if the registry contains a given IIoComponent
Implements IIoComponentMgr.
Definition at line 162 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)
Implements IIoComponentMgr.
Definition at line 229 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)
Implements IIoComponentMgr.
Definition at line 256 of file IoComponentMgr.cpp.
|
virtual |
: reinitialize the I/O subsystem.
This effectively calls IIoComponent::io_reinit on all the registered IIoComponent.
Implements IIoComponentMgr.
Definition at line 419 of file IoComponentMgr.cpp.
|
virtual |
: retrieve the new filename for a given IIoComponent and
| <tt>fname</tt> | filename |
| <tt>oldfname</tt> | filename |
Implements IIoComponentMgr.
Definition at line 365 of file IoComponentMgr.cpp.
|
friend |
Definition at line 31 of file IoComponentMgr.h.
|
private |
pointer to a python dictionary holding the associations: { 'iocomp-name' : { 'oldfname' : [ 'iomode', 'newfname' ] } }
Definition at line 138 of file IoComponentMgr.h.
|
private |
location of the python dictionary
Definition at line 141 of file IoComponentMgr.h.
|
private |
Registry of IIoComponents.
Definition at line 129 of file IoComponentMgr.h.
|
private |
Stack of IIoComponents to properly handle order of registration.
Definition at line 133 of file IoComponentMgr.h.
|
mutableprivate |
Definition at line 125 of file IoComponentMgr.h.