ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthenaExamples
AthAsgExUnittest
AthAsgExUnittest
AthAsgExUnittestTool.h
Go to the documentation of this file.
1
// -*- mode: c++ -*-
2
//
3
// Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
4
//
5
#ifndef ATHASGEXUNITTEST_ATHEXUNITTESTTOOL_H
6
#define ATHASGEXUNITTEST_ATHEXUNITTESTTOOL_H 1
7
8
#include "
AsgTools/AsgTool.h
"
9
#include "
AthAsgExUnittest/IAthAsgExUnittestTool.h
"
10
11
class
AthAsgExUnittestTool
:
public
asg::AsgTool
,
public
virtual
IAthAsgExUnittestTool
{
12
public
:
13
14
ASG_TOOL_CLASS
(
AthAsgExUnittestTool
,
IAthAsgExUnittestTool
)
15
// Add another constructor for non-athena use cases
16
AthAsgExUnittestTool
(
const
std::string& name );
17
18
// Initialize is required by AsgTool base class
19
virtual
StatusCode
initialize
()
override
;
20
21
// This tools method
22
virtual
double
useTheProperty
()
override
;
23
24
private
:
25
26
double
m_nProperty
;
27
unsigned
int
m_enumProperty
;
28
29
};
30
31
#endif
//> !ATHASGEXUNITTEST_ATHEXUNITTESTTOOL_H
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IAthAsgExUnittestTool.h
AthAsgExUnittestTool::m_enumProperty
unsigned int m_enumProperty
Definition
AthAsgExUnittestTool.h:27
AthAsgExUnittestTool::useTheProperty
virtual double useTheProperty() override
Definition
AthAsgExUnittestTool.cxx:27
AthAsgExUnittestTool::AthAsgExUnittestTool
AthAsgExUnittestTool(const std::string &name)
Definition
AthAsgExUnittestTool.cxx:9
AthAsgExUnittestTool::m_nProperty
double m_nProperty
Definition
AthAsgExUnittestTool.h:26
AthAsgExUnittestTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
AthAsgExUnittestTool.cxx:17
IAthAsgExUnittestTool
Definition
IAthAsgExUnittestTool.h:12
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
Generated on
for ATLAS Offline Software by
1.14.0