ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExHelloWorld
src
HelloTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
HelloTool.h
"
6
7
HelloTool::HelloTool
(
const
std::string &
type
,
const
std::string &name,
8
const
IInterface *parent)
9
: base_class(
type
, name, parent) {}
10
11
StatusCode
HelloTool::saySomething
() {
12
ATH_MSG_INFO
(
"my message to the world: "
<<
m_myMessage
.value());
13
14
return
StatusCode::SUCCESS;
15
}
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
HelloTool.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.14.0