ATLAS Offline Software
Control
AthenaExamples
AthAsgExUnittest
AthAsgExUnittest
IAthAsgExUnittestTool.h
Go to the documentation of this file.
1
// -*- mode: c++ -*-
2
3
//
4
// Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
//
6
7
#ifndef ATHASGEXUNITTEST_IATHASGEXUNITTESTTOOL_H
8
#define ATHASGEXUNITTEST_IATHASGEXUNITTESTTOOL_H 1
9
10
#include "
AsgTools/IAsgTool.h
"
11
12
class
IAthAsgExUnittestTool
:
public
virtual
asg::IAsgTool
{
13
public
:
14
15
ASG_TOOL_INTERFACE
(
IAthAsgExUnittestTool
)
16
17
//declare enums for properties here too, so that they are accessible through just the interface header
18
//example of an enum you might end up using for your properties .. please put enums in a class! (not just a namespace)
19
enum
MyEnumProperty
{
Val1
=1 ,
Val2
=2 };
20
21
virtual
double
useTheProperty
() = 0;
22
23
};
24
25
#endif //> !ATHASGEXUNITTEST_IATHASGEXUNITTESTTOOL_H
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition:
IAsgTool.h:41
IAthAsgExUnittestTool::Val2
@ Val2
Definition:
IAthAsgExUnittestTool.h:19
IAthAsgExUnittestTool::useTheProperty
virtual double useTheProperty()=0
IAthAsgExUnittestTool
Definition:
IAthAsgExUnittestTool.h:12
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition:
AsgToolMacros.h:40
IAsgTool.h
IAthAsgExUnittestTool::Val1
@ Val1
Definition:
IAthAsgExUnittestTool.h:19
IAthAsgExUnittestTool::MyEnumProperty
MyEnumProperty
Definition:
IAthAsgExUnittestTool.h:19
Generated on Thu Nov 7 2024 21:16:30 for ATLAS Offline Software by
1.8.18