The Gaudi Framework  master (e68eea06)
Loading...
Searching...
No Matches
CounterSvcAlg.cpp
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2024 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// ============================================================================
12// Include files
13// ============================================================================
14// GaudiKernel
15// ============================================================================
17
18// ============================================================================
19namespace GaudiTestSuite {
24 class CounterSvcAlg : public Algorithm {
25 public:
29 StatusCode execute() override { return StatusCode::SUCCESS; }
30 };
31
32 DECLARE_COMPONENT( CounterSvcAlg )
33
34} // end of namespace GaudiTestSuite
#define DECLARE_COMPONENT(type)
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition Algorithm.h:98
simple algorithm use for test case bug_30209_namespace_in_sequencer.qmt nothing to do anymore with IC...
StatusCode execute() override
Event callback.
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64
constexpr static const auto SUCCESS
Definition StatusCode.h:99