Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v28r2p1 (f1a77ff4)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IThreadInitTool.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ITHREADINITTOOL_H
2 #define GAUDIKERNEL_ITHREADINITTOOL_H 1
3 
4 #include "GaudiKernel/IAlgTool.h"
5 
6 //-----------------------------------------------------------------------------
7 
22 //-----------------------------------------------------------------------------
23 
24 class IThreadInitTool : virtual public IAlgTool
25 {
26 
27 public:
28 
31 
33  virtual void initThread() = 0;
34 
36  virtual void terminateThread() = 0;
37 
43  virtual unsigned int nInit() const = 0;
44 
45 };
46 
47 #endif
virtual void initThread()=0
Perform worker thread initialization. Called concurrently on each thread.
virtual void terminateThread()=0
Perform worker thread finalization. Called concurrently on each thread.
virtual unsigned int nInit() const =0
Number of threads initialized.
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
DeclareInterfaceID(IThreadInitTool, 1, 0)
Declare the interface to the framework.
Abstract interface for AlgTools to do thread local initialization.