| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IIoComponentMgr.h
Go to the documentation of this file.
1
2 // 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
47 virtual ~IIoComponentMgr();
48
55 virtual
56 StatusCode io_register (IIoComponent* iocomponent) = 0;
57
64 virtual
65 StatusCode io_register (IIoComponent* iocomponent,
66 IIoComponentMgr::IoMode::Type iomode,
67 const std::string& fname,
68 const std::string& pfn="") = 0;
69
70
74 virtual
75 StatusCode io_update (IIoComponent* iocomponent,
76 const std::string& old_fname,
77 const std::string& new_fname) = 0;
78
82 virtual
83 StatusCode io_update (IIoComponent* iocomponent,
84 const std::string& work_dir) = 0;
85
86 // VT. new method
89 virtual
90 StatusCode io_update_all (const std::string& work_dir) = 0;
91
94 virtual
95 bool io_hasitem (IIoComponent* iocomponent) const = 0;
96
100 virtual
101 bool io_contains (IIoComponent* iocomponent,
102 const std::string& fname) const = 0;
103
107 virtual
108 StatusCode io_retrieve (IIoComponent* iocomponent,
109 std::string& fname) = 0;
110
115 virtual
116 StatusCode io_reinitialize () = 0;
117
122 virtual
123 StatusCode io_finalize () = 0;
124
125 };
126
127
128 #endif //> !GAUDIKERNEL_IIOCOMPONENTMGR_H