The Gaudi Framework  v33r0 (d5ea422b)
IAlgTask.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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 #ifndef GAUDIKERNEL_GAUDIKERNEL_IALGTASK_H_
12 #define GAUDIKERNEL_GAUDIKERNEL_IALGTASK_H_
13 
14 #include "GaudiKernel/StatusCode.h"
15 
24 // Does it have to inherit from IInterface ?
25 class IAlgTask {
26 public:
27  virtual ~IAlgTask() = default;
28 
29  virtual StatusCode execute() = 0;
30 };
31 
32 #endif /* GAUDIKERNEL_GAUDIKERNEL_IALGTASK_H_ */
virtual StatusCode execute()=0
General interface for a wrapper around Gaudi algorithm.
Definition: IAlgTask.h:25
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:61
virtual ~IAlgTask()=default