ATLAS Offline Software
Loading...
Searching...
No Matches
UnitTestTool.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 EVENT_LOOP_TEST__UNIT_TEST_TOOL1_H
10#define EVENT_LOOP_TEST__UNIT_TEST_TOOL1_H
11
12#include <AsgTools/AsgTool.h>
14
15namespace EL
16{
21
22 struct UnitTestTool : virtual public IUnitTestTool,
23 public asg::AsgTool
24 {
26
27
28 public:
29 UnitTestTool (const std::string& val_name);
30
32 public:
34
35 public:
36 ::StatusCode initialize () override;
37
38 public:
39 virtual int getPropertyInt () const override;
40
41 public:
42 virtual const IUnitTestTool *getSubtool () const override;
43
44
46 public:
47 ToolHandle<IUnitTestTool> m_subtool;
48
50 public:
52 };
53}
54
55#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
the interface for UnitTestTool
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
~UnitTestTool()
standard destructor
virtual const IUnitTestTool * getSubtool() const override
get the subtool property
int m_propertyInt
the integer property
virtual int getPropertyInt() const override
get the integer property
UnitTestTool(const std::string &val_name)
standard constructor
ToolHandle< IUnitTestTool > m_subtool
the toolhandle for subtools
::StatusCode initialize() override
Dummy implementation of the initialisation function.