Go to the documentation of this file.
34 info() <<
"initializing...." <<
endmsg;
39 error() <<
"Error retrieving the public tool" <<
endmsg;
46 error() <<
"Error retrieving the private tool" <<
endmsg;
52 error() <<
"Error retrieving the private tool with name" <<
endmsg;
58 error() <<
"Error retrieving the private tool with second interface" <<
endmsg;
87 info() <<
"....initialization done" <<
endmsg;
95 info() <<
"executing...." <<
endmsg;
102 info() <<
"tools created via ToolHandle<T>...." <<
endmsg;
111 info() <<
"tools copied assigned via ToolHandle<T>...." <<
endmsg;
118 info() <<
"tools copied constructed via ToolHandle<T>...." <<
endmsg;
136 info() <<
"finalizing...." <<
endmsg;
143 return TestAlg::finalize();
IMyTool * m_privateToolWithName
SmartIF< IToolSvc > & toolSvc() const
The standard ToolSvc service, Return a pointer to the service if present.
PublicToolHandle< IMyTool > m_myCopiedToolHandle
ToolHandle< IMyTool > m_undefinedToolHandle
PublicToolHandle< const IMyTool > m_myCopiedConstToolHandle2
Simple algorithm useful as base class for tests.
Gaudi::Details::PropertyBase * declareProperty(const std::string &name, ToolHandle< T > &hndl, const std::string &doc="none")
MyAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor of this form must be provided or inherited from the base class.
PublicToolHandle< const IMyTool > m_myConstToolHandle
Gaudi::Property< bool > m_privateToolsOnly
ToolHandle< IMyTool > m_myPrivToolHandle
PublicToolHandle< const IMyTool > m_myCopiedConstToolHandle
ToolHandle< IAlgTool > m_myUnusedToolHandle
ToolHandle< IMyTool > m_legacyToolHandle
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
IMyOtherTool * m_privateOtherInterface
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
StatusCode initialize() override
Three mandatory member functions of any algorithm.
StatusCode finalize() override
PublicToolHandle< IMyTool > m_myPubToolHandle
Gaudi::Property< std::string > m_privateToolType
StatusCode execute() override
ToolHandle< IWrongTool > m_wrongIfaceTool
const char * what() const override
method from std::exception