ATLAS Offline Software
Loading...
Searching...
No Matches
AnaToolHandle.h File Reference
#include <AsgTools/AsgTool.h>
#include <AsgTools/AsgToolConfig.h>
#include <AsgTools/ToolHandle.h>
#include <type_traits>
#include <atomic>
#include <list>
#include <map>
#include <mutex>
#include <AsgTools/AnaToolHandle.icc>
Include dependency graph for AnaToolHandle.h:

Go to the source code of this file.

Classes

class  asg::AnaToolHandle< T >
 a modified tool handle that allows its owner to configure new tools from the C++ side More...

Namespaces

namespace  asg
namespace  asg::detail

Macros

#define ASG_MAKE_ANA_TOOL(handle, type)
 create the tool in the given tool handle
#define ASG_SET_ANA_TOOL_TYPE(handle, type)
 set the tool type on the tool handle, using new in rootcore

Typedefs

typedef INamedInterface asg::parentType_t
typedef IAlgTool asg::interfaceType_t

Enumerations

enum class  asg::detail::AnaToolHandleMode {
  asg::detail::EMPTY , asg::detail::CREATE_PRIVATE , asg::detail::CREATE_SHARED , asg::detail::RETRIEVE_SHARED ,
  asg::detail::USER
}
 the mode with which an AnaToolHandle object is initialized More...

Functions

template<typename T>
std::ostream & asg::operator<< (std::ostream &str, const AnaToolHandle< T > &obj)
 standard output operator

Macro Definition Documentation

◆ ASG_MAKE_ANA_TOOL

#define ASG_MAKE_ANA_TOOL ( handle,
type )
Value:
(ASG_SET_ANA_TOOL_TYPE(handle,type), StatusCode (StatusCode::SUCCESS))
#define ASG_SET_ANA_TOOL_TYPE(handle, type)
set the tool type on the tool handle, using new in rootcore

create the tool in the given tool handle

Definition at line 690 of file AnaToolHandle.h.

690#define ASG_MAKE_ANA_TOOL(handle,type) \
691 (ASG_SET_ANA_TOOL_TYPE(handle,type), StatusCode (StatusCode::SUCCESS))

◆ ASG_SET_ANA_TOOL_TYPE

#define ASG_SET_ANA_TOOL_TYPE ( handle,
type )
Value:
(handle).setType (#type)

set the tool type on the tool handle, using new in rootcore

Definition at line 694 of file AnaToolHandle.h.

694#define ASG_SET_ANA_TOOL_TYPE(handle,type) \
695 (handle).setType (#type)