ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExHelloWorld
src
HelloTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ATHEXHELLOWORLD_HELLOTOOL_H
6
#define ATHEXHELLOWORLD_HELLOTOOL_H
7
8
#include <
AthExHelloWorld/IHelloTool.h
>
9
#include <
AthenaBaseComps/AthAlgTool.h
>
10
11
#include <string>
12
13
class
HelloTool
:
public
extends<AthAlgTool, IHelloTool> {
14
public
:
15
HelloTool
(
const
std::string &
type
,
const
std::string &name,
const
IInterface *parent);
16
17
// the magic method this tool provides
18
virtual
StatusCode
saySomething
()
override
;
19
20
private
:
21
Gaudi::Property<std::string>
m_myMessage
{
this
,
"MyMessage"
,
22
"Default message set in HelloTool.h"
,
23
"something to say"
};
24
};
25
26
#endif
AthAlgTool.h
IHelloTool.h
HelloTool::m_myMessage
Gaudi::Property< std::string > m_myMessage
Definition
HelloTool.h:21
HelloTool::saySomething
virtual StatusCode saySomething() override
Definition
HelloTool.cxx:11
HelloTool::HelloTool
HelloTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
HelloTool.cxx:7
type
Generated on
for ATLAS Offline Software by
1.17.0