ATLAS Offline Software
Loading...
Searching...
No Matches
IUnitTestTool2.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef ASG_TOOLS__I_UNIT_TEST_TOOL2_H
10#define ASG_TOOLS__I_UNIT_TEST_TOOL2_H
11
12#include <AsgTools/IAsgTool.h>
14
15namespace asg
16{
17 class IUnitTestTool1;
18
20
21 class IUnitTestTool2 : virtual public IAsgTool
22 {
23 // Declare the interface that this class provides
24 ASG_TOOL_INTERFACE( CP::IUnitTestTool2 )
25
26
27 public:
28 virtual bool
29 toolHandleEmpty (const std::string& handleName) const = 0;
30
32 public:
33 virtual const IUnitTestTool1 *
34 getToolHandle (const std::string& handleName) const = 0;
35
37 public:
38 virtual StatusCode
39 retrieveToolHandle (const std::string& handleName) const = 0;
40
42 public:
43 virtual bool
44 wasUserConfigured (const std::string& handleName) const = 0;
45
47 public:
48 virtual const ToolHandleArray<IUnitTestTool1>&
49 getArray () const = 0;
50 };
51}
52
53#endif
#define ASG_TOOL_INTERFACE(CLASSNAME)
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
the interface for UnitTestTool1
the interface for UnitTestTool2
virtual const IUnitTestTool1 * getToolHandle(const std::string &handleName) const =0
get the tool from the regular ToolHandle
virtual bool toolHandleEmpty(const std::string &handleName) const =0
whether the given ToolHandle is empty
virtual const ToolHandleArray< IUnitTestTool1 > & getArray() const =0
get the tool handle array
virtual bool wasUserConfigured(const std::string &handleName) const =0
whether the AnaToolHandle was user configured
virtual StatusCode retrieveToolHandle(const std::string &handleName) const =0
call retrieve on the regular ToolHandle