The Gaudi Framework
v41r0 (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
IIncidentListener.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
GaudiKernel/IInterface.h
>
14
#include <
GaudiKernel/Incident.h
>
15
#include <string>
16
17
class
EventContext
;
18
23
class
GAUDI_API
IIncidentListener
:
virtual
public
IInterface
{
24
public
:
26
DeclareInterfaceID
(
IIncidentListener
, 2, 0 );
27
29
virtual
void
handle
(
const
Incident
& ) = 0;
30
};
IInterface.h
Incident.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
EventContext
This class represents an entry point to all the event specific data.
Definition
EventContext.h:35
IIncidentListener
The interface implemented by any class wanting to listen to Incidents.
Definition
IIncidentListener.h:23
IIncidentListener::handle
virtual void handle(const Incident &)=0
Inform that a new incident has occurred.
IIncidentListener::DeclareInterfaceID
DeclareInterfaceID(IIncidentListener, 2, 0)
InterfaceID.
IInterface
Definition of the basic interface.
Definition
IInterface.h:225
Incident
Base class for all Incidents (computing events).
Definition
Incident.h:24
GaudiKernel
include
GaudiKernel
IIncidentListener.h
Generated on
for The Gaudi Framework by
1.17.0