LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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_v<U, T>>> | |
std::unique_ptr< ServiceWrapper< U > > | getAs () const |
Private Member Functions | |
void | registerProducts (ProductDescriptions &productsToProduce, ProducingServiceSignals &signals, ModuleDescription const &md) override |
Private Attributes | |
std::shared_ptr< T > | service_ptr_ |
Definition at line 19 of file ServiceWrapper.h.
|
delete |
Referenced by art::detail::makeServiceFrom().
|
inline |
Definition at line 54 of file ServiceWrapper.h.
|
inlineexplicit |
Definition at line 58 of file ServiceWrapper.h.
|
inline |
Definition at line 63 of file ServiceWrapper.h.
References art::detail::ServiceWrapper< T >::service_ptr_.
|
inline |
Definition at line 71 of file ServiceWrapper.h.
References art::detail::ServiceWrapper< T >::service_ptr_.
|
delete |
Referenced by art::detail::makeServiceFrom().
|
inlineoverrideprivatevirtual |
Implements art::detail::ServiceWrapperBase.
Definition at line 79 of file ServiceWrapper.h.
References art::detail::ServiceWrapper< T >::service_ptr_.
|
private |
Definition at line 90 of file ServiceWrapper.h.
Referenced by art::detail::ServiceWrapper< T >::get(), art::detail::ServiceWrapper< T >::getAs(), and art::detail::ServiceWrapper< T >::registerProducts().