ATLAS Offline Software
Loading...
Searching...
No Matches
AsgHelloTool.h
Go to the documentation of this file.
1// AsgHelloTool.h
2
3#ifndef AsgHelloTool_H
4#define AsgHelloTool_H
5
6// David Adams.
7// January 2014
8//
9// This is a simple ASG dual-use tool intended as an
10// example for tool developers.
11
13#include "AsgTools/AsgTool.h"
14
16: public asg::AsgTool,
17 virtual public IAsgHelloTool {
19
20public:
21
22 AsgHelloTool( const std::string& myname );
23
24 virtual StatusCode initialize();
25
26 virtual void print() const;
27
28 // Display the message recorded as property "Message"
29 virtual int talk() const;
30
31private:
32
33 std::string m_msg;
34
35};
36
37#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
virtual StatusCode initialize()
Dummy implementation of the initialisation function.
std::string m_msg
virtual int talk() const
virtual void print() const
Print the state of the tool.
AsgHelloTool(const std::string &myname)
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47