ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
11#include <string>
12
13class 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
Gaudi::Property< std::string > m_myMessage
Definition HelloTool.h:21
virtual StatusCode saySomething() override
Definition HelloTool.cxx:11
HelloTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition HelloTool.cxx:7