The Gaudi Framework
v30r3 (a5ef0a68)
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 <list>
10
#include <string>
11
12
// Forward class declaration
13
class
IAlgorithm
;
14
27
class
GAUDI_API
IAlgResourcePool
:
virtual
public
IInterface
28
{
29
public
:
31
DeclareInterfaceID
(
IAlgResourcePool
, 1, 0 );
32
34
virtual
StatusCode
acquireAlgorithm(
const
std::string
&
name
,
IAlgorithm
*& algo,
bool
blocking =
false
) = 0;
36
virtual
StatusCode
releaseAlgorithm(
const
std::string
& name,
IAlgorithm
*& algo ) = 0;
37
39
virtual
std::list<IAlgorithm*>
getFlatAlgList() = 0;
40
42
virtual
std::list<IAlgorithm*>
getTopAlgList() = 0;
43
45
virtual
StatusCode
acquireResource(
const
std::string
& name ) = 0;
47
virtual
StatusCode
releaseResource(
const
std::string
& name ) = 0;
48
};
49
50
#endif // GAUDIKERNEL_IALGRESOURCEPOOL_H
gaudiComponentHelp.name
name
Definition:
gaudiComponentHelp.py:32
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:51
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:13
IInterface
Definition of the basic interface.
Definition:
IInterface.h:277
std::list< IAlgorithm * >
IAlgorithm
The IAlgorithm is the interface implemented by the Algorithm base class.
Definition:
IAlgorithm.h:28
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:104
IInterface.h
GaudiKernel
GaudiKernel
IAlgResourcePool.h
Generated on Wed Aug 1 2018 23:21:03 for The Gaudi Framework by
1.8.11