Back to home page

EIC code displayed by LXR

 
 

    


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

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_IRUNNABLE_H
0012 #define GAUDIKERNEL_IRUNNABLE_H
0013 
0014 #include "GaudiKernel/IInterface.h"
0015 
0016 /** @class IRunable IRunable.h GaudiKernel/IRunable.h
0017 
0018     Runable interface definition. Package GaudiKernel
0019 
0020     Abstract interface of an object to be "run".
0021     Best analogy: java.thread.Thread.run().
0022     A known user is the application manager, which
0023     gives control to a runable for execution of the event loop.
0024 
0025    @author Markus Frank
0026    @version 2.0
0027 */
0028 class GAUDI_API IRunable : virtual public IInterface {
0029 public:
0030   /// InterfaceID
0031   DeclareInterfaceID( IRunable, 2, 0 );
0032 
0033   /// Run the class implementation
0034   virtual StatusCode run() = 0;
0035 };
0036 
0037 #endif // GAUDIKERNEL_IRUNNABLE_H