The Gaudi Framework  master (37c0b60a)
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 
24 class TestTool : public extends<AlgTool, ITestTool> {
25 
26 public:
28  using extends::extends;
29 
31  StatusCode initialize() override;
32 
34  StatusCode finalize() override;
35 
36 private:
37  Gaudi::Property<std::vector<std::string>> m_tools{ this, "Tools", {}, "list of tools to test" };
38 };
TestTool::m_tools
Gaudi::Property< std::vector< std::string > > m_tools
Definition: TestTool.h:37
ITestTool.h
StatusCode
Definition: StatusCode.h:65
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:20
TestTool::finalize
StatusCode finalize() override
Finalize method.
Definition: TestTool.cpp:47
TestTool::initialize
StatusCode initialize() override
Initialize method.
Definition: TestTool.cpp:24
AlgTool.h
TestTool
Definition: TestTool.h:24
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:37