| # 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
IPartitionControl.h
Go to the documentation of this file.
1 // $Id: IPartitionControl.h,v 1.1 2004/07/06 10:17:40 mato Exp $
2 #ifndef GAUDIKERNEL_IPARTITIONCONTROL_H
3 #define GAUDIKERNEL_IPARTITIONCONTROL_H
4
5 // Framework include files
6 #include "GaudiKernel/IInterface.h"
7
8 // C++ include files
9 #include <string>
10
67 class GAUDI_API IPartitionControl: virtual public IInterface {
68 public:
70 DeclareInterfaceID(IPartitionControl,1,0);
71
73
84 virtual StatusCode create(const std::string& name,
85 const std::string& type) = 0;
86
88
100 virtual StatusCode create(const std::string& name,
101 const std::string& type,
102 IInterface*& pPartition) = 0;
103
105
113 virtual StatusCode drop(const std::string& name) = 0;
114
116
126 virtual StatusCode drop(IInterface* pPartition) = 0;
127
129
139 virtual StatusCode activate(const std::string& name) = 0;
140
142
155 virtual StatusCode activate(IInterface* pPartition) = 0;
156
158
165 virtual StatusCode get(const std::string& name, IInterface*& pPartition) const = 0;
166
168
175 virtual StatusCode activePartition(std::string& name, IInterface*& pPartition) const = 0;
176
177 // Return codes:
178 enum { PARTITION_NOT_PRESENT = 2,
179 PARTITION_EXISTS = 4,
180 NO_ACTIVE_PARTITION = 6
181 };
182 };
183 #endif // GAUDIKERNEL_IPARTITIONCONTROL_H