| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

IIoComponentMgr.h
Go to the documentation of this file.
1 // IIoComponentMgr.h
3 // Header file for class IIoComponentMgr
4 // Author: S.Binet<binet@cern.ch>
6 #ifndef GAUDIKERNEL_IIOCOMPONENTMGR_H
7 #define GAUDIKERNEL_IIOCOMPONENTMGR_H 1
8
12 // STL includes
13 #include <string>
14
15 // GaudiKernel includes
16 #include "GaudiKernel/INamedInterface.h"
17 #include "GaudiKernel/StatusCode.h"
18
19 // forward declare
20 class IIoComponent;
21
22 class GAUDI_API IIoComponentMgr : virtual public INamedInterface
23 {
24 public:
25 DeclareInterfaceID( IIoComponentMgr, 1, 0 );
26
28 // Public enums:
30 public:
31 struct IoMode {
32 enum Type { READ = 0, WRITE, RW, INVALID };
33 };
34
36 // Public methods:
38 public:
45 virtual StatusCode io_register( IIoComponent* iocomponent ) = 0;
46
53 virtual StatusCode io_register( IIoComponent* iocomponent, IIoComponentMgr::IoMode::Type iomode,
54 const std::string& fname, const std::string& pfn = "" ) = 0;
55
59 virtual StatusCode io_update( IIoComponent* iocomponent, const std::string& old_fname,
60 const std::string& new_fname ) = 0;
61
65 virtual StatusCode io_update( IIoComponent* iocomponent, const std::string& work_dir ) = 0;
66
67 // VT. new method
70 virtual StatusCode io_update_all( const std::string& work_dir ) = 0;
71
74 virtual bool io_hasitem( IIoComponent* iocomponent ) const = 0;
75
79 virtual bool io_contains( IIoComponent* iocomponent, const std::string& fname ) const = 0;
80
84 virtual StatusCode io_retrieve( IIoComponent* iocomponent, std::string& fname ) = 0;
85
90 virtual StatusCode io_reinitialize() = 0;
91
96 virtual StatusCode io_finalize() = 0;
97 };
98
99 #endif //> !GAUDIKERNEL_IIOCOMPONENTMGR_H
IIoComponent
Definition: IIoComponent.h:16
IIoComponentMgr
Definition: IIoComponentMgr.h:22
Io::INVALID
Definition: IFileMgr.h:37
INamedInterface::DeclareInterfaceID
DeclareInterfaceID(INamedInterface, 1, 0)
InterfaceID.
IIoComponentMgr::IoMode
Definition: IIoComponentMgr.h:31
std::string
STL class.
IIoComponentMgr::IoMode::Type
Type
Definition: IIoComponentMgr.h:32
INamedInterface.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
Io::READ
Definition: IFileMgr.h:27
INamedInterface
IInterface compliant class extending IInterface with the name() method.
Definition: INamedInterface.h:15
StatusCode.h
IIoComponentMgr::IoMode::WRITE
Definition: IIoComponentMgr.h:32
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110