LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ServiceWrapper.h"
Public Member Functions | |
ServiceWrapper (ServiceWrapper const &)=delete | |
ServiceWrapper & | operator= (ServiceWrapper const &)=delete |
ServiceWrapper (fhicl::ParameterSet const &ps, ActivityRegistry &areg) | |
ServiceWrapper (std::shared_ptr< T > &&p) | |
T & | get () |
template<typename U , typename = std::enable_if_t<std::is_base_of<U, T>::value>> | |
ServiceWrapper< U, SCOPE > * | getAs () const |
Private Member Functions | |
template<typename U = T> | |
std::enable_if_t< std::is_base_of< ProducingService, U >::value > | doRegisterProducts (MasterProductRegistry &mpr, ProductDescriptions &productsToProduce, ProducingServiceSignals &signals, ModuleDescription const &md) |
template<typename U = T> | |
std::enable_if_t<!std::is_base_of< ProducingService, U >::value > | doRegisterProducts (MasterProductRegistry &, ProductDescriptions &, ProducingServiceSignals &, ModuleDescription const &) |
void | registerProducts (MasterProductRegistry &mpr, ProductDescriptions &productsToProduce, ProducingServiceSignals &signals, ModuleDescription const &md) override |
Private Attributes | |
std::shared_ptr< T > | service_ptr_ |
Definition at line 32 of file ServiceWrapper.h.
|
delete |
Referenced by art::detail::makeServiceFrom().
|
inline |
Definition at line 80 of file ServiceWrapper.h.
|
inlineexplicit |
Definition at line 85 of file ServiceWrapper.h.
|
inlineprivate |
Definition at line 106 of file ServiceWrapper.h.
References art::detail::ServiceWrapper< T, SCOPE >::service_ptr_, and fhicl::detail::atom::value().
Referenced by art::detail::ServiceWrapper< T, SCOPE >::registerProducts().
|
inlineprivate |
Definition at line 118 of file ServiceWrapper.h.
|
inline |
Definition at line 89 of file ServiceWrapper.h.
References art::detail::ServiceWrapper< T, SCOPE >::service_ptr_, and fhicl::detail::atom::value().
|
inline |
Definition at line 97 of file ServiceWrapper.h.
References art::detail::ServiceWrapper< T, SCOPE >::service_ptr_, and fhicl::detail::atom::value().
|
delete |
Referenced by art::detail::makeServiceFrom().
|
inlineoverrideprivatevirtual |
Implements art::detail::ServiceWrapperBase.
Definition at line 125 of file ServiceWrapper.h.
References art::detail::ServiceWrapper< T, SCOPE >::doRegisterProducts().
|
private |
Definition at line 133 of file ServiceWrapper.h.
Referenced by art::detail::ServiceWrapper< T, SCOPE >::doRegisterProducts(), art::detail::ServiceWrapper< T, SCOPE >::get(), and art::detail::ServiceWrapper< T, SCOPE >::getAs().