#include <ServiceRegistryRef.h>
Definition at line 20 of file ServiceRegistryRef.h.
◆ ServiceRegistryRef()
◆ active()
template<typename T >
requires (std::is_const_v<T> == false)
bool o2::framework::ServiceRegistryRef::active |
( |
| ) |
const |
|
inline |
◆ get()
template<typename T >
T & o2::framework::ServiceRegistryRef::get |
( |
| ) |
const |
|
inline |
Get a service for the given interface T. The returned reference exposed to the user is actually of the last concrete type C registered, however this should not be a problem.
Definition at line 85 of file ServiceRegistryRef.h.
◆ isMainThread()
bool o2::framework::ServiceRegistryRef::isMainThread |
( |
| ) |
|
|
inline |
◆ lock()
void o2::framework::ServiceRegistryRef::lock |
( |
| ) |
|
|
inline |
◆ registerService() [1/2]
Register a service given an handle, notice how the service will be created in the current salt, so that from a dataprocessor you cannot create a service globally, or in a stream you cannot create services for a dataprocessor.
Definition at line 100 of file ServiceRegistryRef.h.
◆ registerService() [2/2]
◆ unlock()
void o2::framework::ServiceRegistryRef::unlock |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: