Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:00:31

0001 /***********************************************************************************\
0002 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
0003 *                                                                                   *
0004 * This software is distributed under the terms of the Apache version 2 licence,     *
0005 * copied verbatim in the file "LICENSE".                                            *
0006 *                                                                                   *
0007 * In applying this licence, CERN does not waive the privileges and immunities       *
0008 * granted to it by virtue of its status as an Intergovernmental Organization        *
0009 * or submit itself to any jurisdiction.                                             *
0010 \***********************************************************************************/
0011 #ifndef GAUDIKERNEL_IINCIDENTLISTENER_H
0012 #define GAUDIKERNEL_IINCIDENTLISTENER_H
0013 
0014 // Include Files
0015 #include "GaudiKernel/IInterface.h"
0016 #include "GaudiKernel/Incident.h"
0017 #include <string>
0018 
0019 class EventContext;
0020 
0021 /** @class IIncidentListener IIncidentListener.h GaudiKernel/IIncidentListener.h
0022     The interface implemented by any class wanting to listen to Incidents.
0023     @author Pere Mato
0024 */
0025 class GAUDI_API IIncidentListener : virtual public IInterface {
0026 public:
0027   /// InterfaceID
0028   DeclareInterfaceID( IIncidentListener, 2, 0 );
0029 
0030   /// Inform that a new incident has occurred
0031   virtual void handle( const Incident& ) = 0;
0032 };
0033 
0034 #endif // GAUDIKERNEL_IINCIDENTLISTENER_H