ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
HelloTool Class Reference

#include <HelloTool.h>

Inheritance diagram for HelloTool:
Collaboration diagram for HelloTool:

Public Member Functions

 HelloTool (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual StatusCode saySomething () override
 

Private Attributes

Gaudi::Property< std::string > m_myMessage
 

Detailed Description

Definition at line 13 of file HelloTool.h.

Constructor & Destructor Documentation

◆ HelloTool()

HelloTool::HelloTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 7 of file HelloTool.cxx.

9  : base_class(type, name, parent) {}

Member Function Documentation

◆ saySomething()

StatusCode HelloTool::saySomething ( )
overridevirtual

Definition at line 11 of file HelloTool.cxx.

11  {
12  ATH_MSG_INFO("my message to the world: " << m_myMessage.value());
13 
14  return StatusCode::SUCCESS;
15 }

Member Data Documentation

◆ m_myMessage

Gaudi::Property<std::string> HelloTool::m_myMessage
private
Initial value:
{this, "MyMessage",
"Default message set in HelloTool.h",
"something to say"}

Definition at line 21 of file HelloTool.h.


The documentation for this class was generated from the following files:
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
HelloTool::m_myMessage
Gaudi::Property< std::string > m_myMessage
Definition: HelloTool.h:21
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78