The Gaudi Framework  v41r0 (bdbe7744)
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
14
15#include <memory>
16
17class IIncidentSvc;
19
21public:
23
24 StatusCode initialize() override;
25 StatusCode execute() override;
26 StatusCode finalize() override;
27
28 static std::string& incident();
29
30private:
31 static std::string s_incidentType;
33 std::array<std::unique_ptr<IncidentListenerTest>, 6> m_listener;
34};
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition Algorithm.h:98
The interface implemented by the IncidentSvc service.
std::array< std::unique_ptr< IncidentListenerTest >, 6 > m_listener
SmartIF< IIncidentSvc > m_incSvc
static std::string & incident()
Small smart pointer class with automatic reference counting for IInterface.
Definition SmartIF.h:28
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64