The Gaudi Framework
v41r0 (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
IncidentListenerTestAlg.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 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
#pragma once
12
13
#include <
GaudiKernel/Algorithm.h
>
14
15
#include <memory>
16
17
class
IIncidentSvc
;
18
class
IncidentListenerTest
;
19
20
class
IncidentListenerTestAlg
:
public
Algorithm
{
21
public
:
22
using
Algorithm::Algorithm
;
23
24
StatusCode
initialize
()
override
;
25
StatusCode
execute
()
override
;
26
StatusCode
finalize
()
override
;
27
28
static
std::string&
incident
();
29
30
private
:
31
static
std::string
s_incidentType
;
32
SmartIF<IIncidentSvc>
m_incSvc
;
33
std::array<std::unique_ptr<IncidentListenerTest>, 6>
m_listener
;
34
};
Algorithm.h
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
IIncidentSvc
The interface implemented by the IncidentSvc service.
Definition
IIncidentSvc.h:30
IncidentListenerTestAlg
Definition
IncidentListenerTestAlg.h:20
IncidentListenerTestAlg::s_incidentType
static std::string s_incidentType
Definition
IncidentListenerTestAlg.h:31
IncidentListenerTestAlg::m_listener
std::array< std::unique_ptr< IncidentListenerTest >, 6 > m_listener
Definition
IncidentListenerTestAlg.h:33
IncidentListenerTestAlg::execute
StatusCode execute() override
Definition
IncidentListenerTestAlg.cpp:61
IncidentListenerTestAlg::m_incSvc
SmartIF< IIncidentSvc > m_incSvc
Definition
IncidentListenerTestAlg.h:32
IncidentListenerTestAlg::finalize
StatusCode finalize() override
Definition
IncidentListenerTestAlg.cpp:68
IncidentListenerTestAlg::initialize
StatusCode initialize() override
Definition
IncidentListenerTestAlg.cpp:26
IncidentListenerTestAlg::incident
static std::string & incident()
Definition
IncidentListenerTestAlg.cpp:23
IncidentListenerTest
Definition
IncidentListenerTest.h:23
SmartIF
Small smart pointer class with automatic reference counting for IInterface.
Definition
SmartIF.h:28
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
GaudiTestSuite
src
IncidentSvc
IncidentListenerTestAlg.h
Generated on
for The Gaudi Framework by
1.17.0