The Gaudi Framework
master (181af51f)
Loading...
Searching...
No Matches
History.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
#include <
GaudiKernel/IHistorySvc.h
>
15
16
class
History
:
public
Algorithm
{
17
SmartIF<IHistorySvc>
m_histSvc
;
18
19
public
:
20
History
(
const
std::string&
name
,
ISvcLocator
* pSvcLocator );
21
StatusCode
initialize
()
override
;
22
StatusCode
execute
()
override
;
23
};
Algorithm.h
IHistorySvc.h
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition
Algorithm.cpp:529
History::initialize
StatusCode initialize() override
Definition
History.cpp:22
History::History
History(const std::string &name, ISvcLocator *pSvcLocator)
Definition
History.cpp:18
History::execute
StatusCode execute() override
Definition
History.cpp:35
History::m_histSvc
SmartIF< IHistorySvc > m_histSvc
Definition
History.h:17
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition
ISvcLocator.h:42
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
History
History.h
Generated on Wed Oct 8 2025 09:53:38 for The Gaudi Framework by
1.13.1