The Gaudi Framework
v30r4 (9b837755)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
IAlgResourcePool.h
Go to the documentation of this file.
1
#ifndef GAUDIKERNEL_IALGRESOURCEPOOL_H
2
#define GAUDIKERNEL_IALGRESOURCEPOOL_H
3
4
// Framework includes
5
#include "
GaudiKernel/IInterface.h
"
6
7
// C++ includes
8
#include <list>
9
#include <string>
10
11
// Forward class declaration
12
class
IAlgorithm
;
13
26
class
GAUDI_API
IAlgResourcePool
:
virtual
public
IInterface
27
{
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
acquireResource(
const
std::string
& name ) = 0;
46
virtual
StatusCode
releaseResource(
const
std::string
& name ) = 0;
47
};
48
49
#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:26
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:71
IInterface.h
GaudiKernel
GaudiKernel
IAlgResourcePool.h
Generated on Fri Nov 2 2018 17:40:09 for The Gaudi Framework by
1.8.11