The Gaudi Framework
master (b9786168)
Loading...
Searching...
No Matches
IncidentProcAlg.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 <
Gaudi/Algorithm.h
>
14
#include <
Gaudi/Property.h
>
15
#include <
GaudiKernel/IIncidentSvc.h
>
16
#include <
GaudiKernel/MsgStream.h
>
17
18
class
GAUDI_API
IncidentProcAlg
:
public
Gaudi::Algorithm
{
19
public
:
20
IncidentProcAlg
(
const
std::string&
name
,
ISvcLocator
* pSvcLocator );
21
22
virtual
~IncidentProcAlg
() {}
23
24
StatusCode
initialize
()
override
;
25
StatusCode
execute(
const
EventContext
& ctx )
const override
;
26
27
private
:
28
SmartIF<IIncidentSvc>
m_incSvc
;
29
};
Algorithm.h
Property.h
IIncidentSvc.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
MsgStream.h
EventContext
This class represents an entry point to all the event specific data.
Definition
EventContext.h:35
Gaudi::Algorithm
Base class from which all concrete algorithm classes should be derived.
Definition
Algorithm.h:87
Gaudi::Algorithm::initialize
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
Definition
Algorithm.h:175
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition
Algorithm.cpp:529
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition
ISvcLocator.h:42
IncidentProcAlg::m_incSvc
SmartIF< IIncidentSvc > m_incSvc
Definition
IncidentProcAlg.h:28
IncidentProcAlg::~IncidentProcAlg
virtual ~IncidentProcAlg()
Definition
IncidentProcAlg.h:22
IncidentProcAlg::IncidentProcAlg
IncidentProcAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
IncidentProcAlg.cpp:28
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
GaudiCoreSvc
src
IncidentSvc
IncidentProcAlg.h
Generated on Tue Oct 28 2025 17:49:21 for The Gaudi Framework by
1.13.1