| The Gaudi Framework v28r2p1 (f1a77ff4)

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

- File List
- File Members

IThreadPoolSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ITHREADPOOLSVC_H
2 #define GAUDIKERNEL_ITHREADPOOLSVC_H
3
4 #include "GaudiKernel/IInterface.h"
5 #include "GaudiKernel/IThreadInitTool.h"
6 #include <vector>
7
8 //-----------------------------------------------------------------------------
9
21 //-----------------------------------------------------------------------------
22
23 class GAUDI_API IThreadPoolSvc : virtual public IInterface
24 {
25
26 public:
27
29 DeclareInterfaceID(IThreadPoolSvc,1,0);
30
32 virtual StatusCode initPool(const int& poolSize) = 0;
33
35 virtual StatusCode terminatePool() = 0;
36
38 virtual int poolSize() const = 0;
39
40 };
41
42 #endif
IThreadPoolSvc
Abstract interface for a service that manages a thread pool.
Definition: IThreadPoolSvc.h:23
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
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
IThreadInitTool.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h