| The Gaudi Framework v28r2p1 (f1a77ff4)

- 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 {
33 READ = 0,
34 WRITE,
35 RW,
36 INVALID
37 };
38 };
39
41 // Public methods:
43 public:
44
51 virtual
52 StatusCode io_register (IIoComponent* iocomponent) = 0;
53
60 virtual
61 StatusCode io_register (IIoComponent* iocomponent,
62 IIoComponentMgr::IoMode::Type iomode,
63 const std::string& fname,
64 const std::string& pfn="") = 0;
65
66
70 virtual
71 StatusCode io_update (IIoComponent* iocomponent,
72 const std::string& old_fname,
73 const std::string& new_fname) = 0;
74
78 virtual
79 StatusCode io_update (IIoComponent* iocomponent,
80 const std::string& work_dir) = 0;
81
82 // VT. new method
85 virtual
86 StatusCode io_update_all (const std::string& work_dir) = 0;
87
90 virtual
91 bool io_hasitem (IIoComponent* iocomponent) const = 0;
92
96 virtual
97 bool io_contains (IIoComponent* iocomponent,
98 const std::string& fname) const = 0;
99
103 virtual
104 StatusCode io_retrieve (IIoComponent* iocomponent,
105 std::string& fname) = 0;
106
111 virtual
112 StatusCode io_reinitialize () = 0;
113
118 virtual
119 StatusCode io_finalize () = 0;
120
121 };
122
123
124 #endif //> !GAUDIKERNEL_IIOCOMPONENTMGR_H
IIoComponent
Definition: IIoComponent.h:16
IIoComponentMgr
Definition: IIoComponentMgr.h:22
Io::INVALID
Definition: IFileMgr.h:36
INamedInterface::DeclareInterfaceID
DeclareInterfaceID(INamedInterface, 1, 0)
InterfaceID.
IIoComponentMgr::IoMode
Definition: IIoComponentMgr.h:31
IIoComponentMgr::IoMode::RW
Definition: IIoComponentMgr.h:35
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:26
Io::READ
Definition: IFileMgr.h:26
INamedInterface
IInterface compliant class extending IInterface with the name() method.
Definition: INamedInterface.h:15
StatusCode.h
IIoComponentMgr::IoMode::WRITE
Definition: IIoComponentMgr.h:34
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107