asg::detail::AnaToolShareList Class Reference

a service for sharing tools of a given type More...

List of all members.

Public Member Functions

std::shared_ptr< AnaToolSharegetShare (const std::string &name) const
 get the share for the given name, or nullptr if no share has been defined
StatusCode makeShare (const std::string &name, const AnaToolConfig &config, std::shared_ptr< AnaToolShare > &result)
 make or get a share for the given name

Static Public Member Functions

static AnaToolShareListsingleton () noexcept
 the singleton we are using

Detailed Description

a service for sharing tools of a given type


Member Function Documentation

std::shared_ptr< AnaToolShare > asg::detail::AnaToolShareList::getShare ( const std::string &  name  )  const

get the share for the given name, or nullptr if no share has been defined

Guarantee
strong
Failures
out of memory I
StatusCode asg::detail::AnaToolShareList::makeShare ( const std::string &  name,
const AnaToolConfig config,
std::shared_ptr< AnaToolShare > &  result 
)

make or get a share for the given name

Returns:
the share to use, either freshly created or retrieved from the store
Guarantee
strong
Failures
tool creation failures
out of memory II
AnaToolShareList & asg::detail::AnaToolShareList::singleton (  )  [static]

the singleton we are using

Guarantee
no-fail

The documentation for this class 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