Gaudi Framework, version v23r5
Home
Generated: Wed Nov 28 2012
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
GaudiUtils
src
component
StalledEventMonitor.h
Go to the documentation of this file.
1
/*
2
* StalledEventMonitor.h
3
*
4
* Created on: Apr 19, 2010
5
* Author: Marco Clemencic
6
*/
7
8
#ifndef STALLEDEVENTMONITOR_H_
9
#define STALLEDEVENTMONITOR_H_
10
11
// Include files
12
#include "
GaudiKernel/Service.h
"
13
#include "
GaudiKernel/IIncidentListener.h
"
14
#include <
memory
>
15
16
// Forward declarations
17
class
WatchdogThread
;
18
class
IIncidentSvc
;
19
29
class
StalledEventMonitor
:
public
extends1
<Service, IIncidentListener> {
30
public
:
32
StalledEventMonitor
(
const
std::string
&
name
,
ISvcLocator
* svcLoc);
33
35
virtual
~StalledEventMonitor
();
36
39
virtual
StatusCode
initialize
();
40
42
virtual
StatusCode
start
();
43
45
virtual
void
handle
(
const
Incident
&
/* incident */
);
46
48
virtual
StatusCode
stop
();
49
51
virtual
StatusCode
finalize
();
52
53
private
:
55
unsigned
int
m_eventTimeout
;
56
58
std::auto_ptr<WatchdogThread>
m_watchdog
;
59
61
SmartIF<IIncidentSvc>
m_incidentSvc
;
62
63
};
64
65
#endif // STALLEDEVENTMONITOR_H_
Generated at Wed Nov 28 2012 12:17:18 for Gaudi Framework, version v23r5 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004