| The Gaudi Framework v27r1

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

- File List
- File Members

IAlgResourcePool.h
Go to the documentation of this file.
1 // $Id: IAlgManager.h,v 1.7 2008/06/02 14:20:38 marcocle Exp $
2 #ifndef GAUDIKERNEL_IALGRESOURCEPOOL_H
3 #define GAUDIKERNEL_IALGRESOURCEPOOL_H
4
5 // Framework includes
6 #include "GaudiKernel/IInterface.h"
7
8 // C++ includes
9 #include <string>
10 #include <list>
11
12 // Forward class declaration
13 class IAlgorithm;
14
27 class GAUDI_API IAlgResourcePool: virtual public IInterface {
28 public:
30 DeclareInterfaceID(IAlgResourcePool,1,0);
31
33 virtual StatusCode acquireAlgorithm(const std::string& name,IAlgorithm*& algo, bool blocking = false) = 0;
35 virtual StatusCode releaseAlgorithm(const std::string& name, IAlgorithm*& algo) = 0;
36
38 virtual std::list<IAlgorithm*> getFlatAlgList() = 0;
39
41 virtual std::list<IAlgorithm*> getTopAlgList() = 0;
42
44 virtual StatusCode beginRun() = 0;
45
47 virtual StatusCode endRun() = 0;
48
50 virtual StatusCode acquireResource(const std::string& name) = 0;
52 virtual StatusCode releaseResource(const std::string& name) = 0;
53
54 };
55
56 #endif // GAUDIKERNEL_IALGRESOURCEPOOL_H
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:28
std::string
STL class.
IAlgResourcePool
The IAlgResourcePool is the interface for managing algorithm instances, in particular if clones of th...
Definition: IAlgResourcePool.h:27
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
std::list< IAlgorithm * >
IAlgorithm
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition: IAlgorithm.h:25
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:14
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h