The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
TestTool.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2023 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 "ITestTool.h"
14#include <GaudiKernel/AlgTool.h>
15#include <string>
16
23
24class TestTool : public extends<AlgTool, ITestTool> {
25
26public:
28 using extends::extends;
29
31 StatusCode initialize() override;
32
34 StatusCode finalize() override;
35
36private:
37 Gaudi::Property<std::vector<std::string>> m_tools{ this, "Tools", {}, "list of tools to test" };
38};
Implementation of property with value of concrete type.
Definition PropertyFwd.h:27
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64
StatusCode initialize() override
Initialize method.
Definition TestTool.cpp:24
Gaudi::Property< std::vector< std::string > > m_tools
Definition TestTool.h:37
StatusCode finalize() override
Finalize method.
Definition TestTool.cpp:47
Base class used to extend a class implementing other interfaces.
Definition extends.h:19