| The Gaudi Framework v30r0 (c919700c)

- 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:
28 DeclareInterfaceID( IThreadPoolSvc, 1, 0 );
29
31 virtual StatusCode initPool( const int& poolSize ) = 0;
32
34 virtual StatusCode terminatePool() = 0;
35
37 virtual int poolSize() const = 0;
38 };
39
40 #endif
IThreadPoolSvc
Abstract interface for a service that manages a thread pool.
Definition: IThreadPoolSvc.h:23
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
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
IThreadInitTool.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h