The Gaudi Framework  v41r0 (bdbe7744)
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
15#include <string>
16
17class EventContext;
18
23class GAUDI_API IIncidentListener : virtual public IInterface {
24public:
27
29 virtual void handle( const Incident& ) = 0;
30};
#define GAUDI_API
Definition Kernel.h:49
This class represents an entry point to all the event specific data.
The interface implemented by any class wanting to listen to Incidents.
virtual void handle(const Incident &)=0
Inform that a new incident has occurred.
DeclareInterfaceID(IIncidentListener, 2, 0)
InterfaceID.
Definition of the basic interface.
Definition IInterface.h:225
Base class for all Incidents (computing events).
Definition Incident.h:24