The Gaudi Framework
master (2e57474e)
Toggle main menu visibility
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
// ============================================================================
16
#include <
GaudiKernel/Algorithm.h
>
17
18
// ============================================================================
19
namespace
GaudiTestSuite
{
24
class
CounterSvcAlg
:
public
Algorithm
{
25
public
:
27
using
Algorithm::Algorithm
;
29
StatusCode
execute
()
override
{
return
StatusCode::SUCCESS
; }
30
};
31
32
DECLARE_COMPONENT
( CounterSvcAlg )
33
34
}
// end of namespace GaudiTestSuite
Algorithm.h
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition
PluginServiceV1.h:45
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
GaudiTestSuite::CounterSvcAlg
simple algorithm use for test case bug_30209_namespace_in_sequencer.qmt nothing to do anymore with IC...
Definition
CounterSvcAlg.cpp:24
GaudiTestSuite::CounterSvcAlg::execute
StatusCode execute() override
Event callback.
Definition
CounterSvcAlg.cpp:29
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition
StatusCode.h:99
GaudiTestSuite
Definition
LoggingAuditor.cpp:21
GaudiTestSuite
src
CounterEx
CounterSvcAlg.cpp
Generated on
for The Gaudi Framework by
1.17.0