All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
17 #include "GaudiKernel/StatusCode.h"
18 
19 // forward declare
20 class IIoComponent;
21 
23 {
24  public:
26 
28  // Public enums:
30  public:
31  struct IoMode {
32  enum Type {
33  READ = 0,
35  RW,
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,
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
DeclareInterfaceID(INamedInterface, 1, 0)
InterfaceID.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
IInterface compliant class extending IInterface with the name() method.
#define GAUDI_API
Definition: Kernel.h:108