1 #ifndef art_Framework_Services_Registry_ServiceToken_h 2 #define art_Framework_Services_Registry_ServiceToken_h 21 class ActivityRegistry;
22 struct ProcessConfiguration;
23 class ProducingServiceSignals;
24 class ServiceRegistry;
43 typename = std::enable_if_t<detail::ServiceHelper<T>::scope_val !=
46 add(std::unique_ptr<T>&& serv)
52 typename = std::enable_if_t<detail::ServiceHelper<T>::scope_val ==
72 manager_->registerProducts(mpr, productsToProduce, signals, pc);
std::vector< fhicl::ParameterSet > ParameterSets
std::shared_ptr< ServicesManager > manager_
std::vector< BranchDescription > ProductDescriptions
void add(std::vector< std::unique_ptr< T >> &&services)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void add(std::unique_ptr< T > &&serv)
void registerProducts(MasterProductRegistry &mpr, ProductDescriptions &productsToProduce, ProducingServiceSignals &signals, ProcessConfiguration const &pc)
ServiceToken(std::shared_ptr< ServicesManager > iManager)
void getParameterSets(ServicesManager::ParameterSets &out) const
static auto createInvalid()