a service for sharing tools of a given type More...
Public Member Functions | |
std::shared_ptr< AnaToolShare > | getShare (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 AnaToolShareList & | singleton () noexcept |
the singleton we are using |
a service for sharing tools of a given type
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
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
AnaToolShareList & asg::detail::AnaToolShareList::singleton | ( | ) | [static] |
the singleton we are using