LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ServiceToken.h"
Public Member Functions | |
template<typename T , typename = std::enable_if_t<detail::ServiceHelper<T>::scope_val != ServiceScope::PER_SCHEDULE>> | |
void | add (std::unique_ptr< T > &&serv) |
template<typename T , typename = std::enable_if_t<detail::ServiceHelper<T>::scope_val == ServiceScope::PER_SCHEDULE>> | |
void | add (std::vector< std::unique_ptr< T >> &&services) |
void | forceCreation () |
void | registerProducts (MasterProductRegistry &mpr, ProductDescriptions &productsToProduce, ProducingServiceSignals &signals, ProcessConfiguration const &pc) |
void | getParameterSets (ServicesManager::ParameterSets &out) const |
Static Public Member Functions | |
static auto | createInvalid () |
Private Member Functions | |
ServiceToken (std::shared_ptr< ServicesManager > iManager) | |
Private Attributes | |
std::shared_ptr< ServicesManager > | manager_ |
Friends | |
class | ServiceRegistry |
class | ServicesManager |
Definition at line 31 of file ServiceToken.h.
|
inlineexplicitprivate |
Definition at line 82 of file ServiceToken.h.
|
inline |
Definition at line 46 of file ServiceToken.h.
References manager_, and art::PER_SCHEDULE.
Referenced by art::ServiceDirector::addSystemService().
|
inline |
|
inlinestatic |
Definition at line 37 of file ServiceToken.h.
References art::PER_SCHEDULE.
|
inline |
Definition at line 61 of file ServiceToken.h.
References manager_.
Referenced by art::EventProcessor::EventProcessor().
|
inline |
|
inline |
Definition at line 67 of file ServiceToken.h.
References manager_.
Referenced by art::EventProcessor::EventProcessor().
|
friend |
Definition at line 32 of file ServiceToken.h.
|
friend |
Definition at line 33 of file ServiceToken.h.
|
private |
Definition at line 86 of file ServiceToken.h.
Referenced by add(), forceCreation(), getParameterSets(), registerProducts(), art::ServiceRegistry::setContext(), and art::ServiceRegistry::unsetContext().