Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v36r16 (ea80daf8)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TestTool.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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 #ifndef TESTTOOL_H
12 #define TESTTOOL_H 1
13 
14 // Include files
15 // from STL
16 #include <string>
17 
18 // from Gaudi
19 #include "GaudiAlg/GaudiTool.h"
20 
21 #include "ITestTool.h"
22 
30 class TestTool : public extends<GaudiTool, ITestTool> {
31 
32 public:
34  using extends::extends;
35 
37  StatusCode initialize() override;
38 
40  StatusCode finalize() override;
41 
42 private:
43  Gaudi::Property<std::vector<std::string>> m_tools{ this, "Tools", {}, "list of tools to test" };
44 };
45 #endif // TESTTOOL_H
GaudiTool.h
TestTool::m_tools
Gaudi::Property< std::vector< std::string > > m_tools
Definition: TestTool.h:43
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:52
TestTool::initialize
StatusCode initialize() override
Initialize method.
Definition: TestTool.cpp:30
TestTool
Definition: TestTool.h:30
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:39