The Gaudi Framework
v30r3 (a5ef0a68)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
:
29
DeclareInterfaceID
(
IThreadInitTool
, 1, 0 );
30
32
virtual
void
initThread
() = 0;
33
35
virtual
void
terminateThread
() = 0;
36
42
virtual
unsigned
int
nInit
()
const
= 0;
43
};
44
45
#endif
IThreadInitTool::initThread
virtual void initThread()=0
Perform worker thread initialization. Called concurrently on each thread.
IThreadInitTool::terminateThread
virtual void terminateThread()=0
Perform worker thread finalization. Called concurrently on each thread.
IThreadInitTool::nInit
virtual unsigned int nInit() const =0
Number of threads initialized.
IAlgTool.h
IAlgTool
The interface implemented by the AlgTool base class.
Definition:
IAlgTool.h:23
IThreadInitTool::DeclareInterfaceID
DeclareInterfaceID(IThreadInitTool, 1, 0)
Declare the interface to the framework.
IThreadInitTool
Abstract interface for AlgTools to do thread local initialization.
Definition:
IThreadInitTool.h:24
GaudiKernel
GaudiKernel
IThreadInitTool.h
Generated on Wed Aug 1 2018 23:21:04 for The Gaudi Framework by
1.8.11