asg::UnitTestTool2 Struct Reference

a tool used to unit test AnaToolHandle More...

#include <UnitTestTool2.h>

Inheritance diagram for asg::UnitTestTool2:
asg::IUnitTestTool2 asg::AsgTool asg::IAsgTool asg::IAsgTool

List of all members.

Public Member Functions

 UnitTestTool2 (const std::string &val_name)
 standard constructor
StatusCode initialize () override
virtual bool toolHandleEmpty (const std::string &handleName) const override
 whether the given ToolHandle is empty
virtual const IUnitTestTool1getToolHandle (const std::string &handleName) const override
 get the tool from the regular ToolHandle
virtual StatusCode retrieveToolHandle (const std::string &handleName) const override
 call retrieve on the regular ToolHandle
virtual bool wasUserConfigured (const std::string &handleName) const override
 whether the AnaToolHandle was user configured

Public Attributes

ToolHandle< IUnitTestTool1m_regPublicHandle
ToolHandle< IUnitTestTool1m_regPrivateHandle
AnaToolHandle< IUnitTestTool1m_anaPublicHandle
AnaToolHandle< IUnitTestTool1m_anaPrivateHandle

Detailed Description

a tool used to unit test AnaToolHandle

This allows to unit test anything that happens in conjunction with a tool holding a ToolHandle/AnaToolHandle.


Member Function Documentation

StatusCode asg::UnitTestTool2::initialize ( void   )  [override, virtual]

Dummy implementation of the initialisation function

It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...

Reimplemented from asg::AsgTool.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1