Project
Loading...
Searching...
No Matches
o2::framework::ServiceRegistryHelpers Struct Reference

Helpers for ServiceRegistry manipulations. More...

#include <ServiceRegistryHelpers.h>

Static Public Member Functions

template<class I , class C , enum ServiceKind K = ServiceKind::Serial>
static auto handleForService (C *service) -> ServiceHandle
 
template<class I , class C , enum ServiceKind K = ServiceKind::Serial>
static auto handleForService (C const *service) -> ServiceHandle
 Same as above, but for const instances.
 

Detailed Description

Helpers for ServiceRegistry manipulations.

Definition at line 29 of file ServiceRegistryHelpers.h.

Member Function Documentation

◆ handleForService() [1/2]

template<class I , class C , enum ServiceKind K = ServiceKind::Serial>
static auto o2::framework::ServiceRegistryHelpers::handleForService ( C *  service) -> ServiceHandle
inlinestatic

Definition at line 39 of file ServiceRegistryHelpers.h.

◆ handleForService() [2/2]

template<class I , class C , enum ServiceKind K = ServiceKind::Serial>
static auto o2::framework::ServiceRegistryHelpers::handleForService ( C const *  service) -> ServiceHandle
inlinestatic

Same as above, but for const instances.

Definition at line 54 of file ServiceRegistryHelpers.h.


The documentation for this struct was generated from the following file: