ATLAS Offline Software
Loading...
Searching...
No Matches
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}
#define ATH_MSG_INFO(x)
Gaudi::Property< std::string > m_myMessage
Definition HelloTool.h:21

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.

21 {this, "MyMessage",
22 "Default message set in HelloTool.h",
23 "something to say"};

The documentation for this class was generated from the following files: