ATLAS Offline Software
Loading...
Searching...
No Matches
AthAsgExUnittestTool.cxx
Go to the documentation of this file.
1
2//
3// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4//
5
6// AthAsgExUnittest includes
8#include "Gaudi/PropertyFmt.h"
9
10AthAsgExUnittestTool::AthAsgExUnittestTool( const std::string& name ) : asg::AsgTool( name ) {
11}
12
14 ATH_MSG_INFO( "Initializing {}...", name() );
15 ATH_MSG_INFO( "Property = {}", m_nProperty );
16 //
17 //Make use of the property values to configure the tool
18 //Tools should be designed so that no method other than setProperty is called before initialize
19 //
20 return StatusCode::SUCCESS;
21}
22
#define ATH_MSG_INFO(x,...)
virtual double useTheProperty() override
AthAsgExUnittestTool(const std::string &name)
Gaudi::Property< double > m_nProperty
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
AsgTool(const std::string &name)
Constructor specifying the tool instance's name.
Definition AsgTool.cxx:58