Project
Loading...
Searching...
No Matches
o2::framework::Service< T > Struct Template Reference

#include <AnalysisHelpers.h>

Public Types

using service_t = T
 

Public Member Functions

decltype(auto) operator-> () const
 

Public Attributes

T * service
 

Detailed Description

template<typename T>
struct o2::framework::Service< T >

This helper allows you to fetch a Sevice from the context or by using some singleton. This hopefully will hide the Singleton and We will be able to retrieve it in a more thread safe manner later on.

Definition at line 587 of file AnalysisHelpers.h.

Member Typedef Documentation

◆ service_t

template<typename T >
using o2::framework::Service< T >::service_t = T

Definition at line 588 of file AnalysisHelpers.h.

Member Function Documentation

◆ operator->()

template<typename T >
decltype(auto) o2::framework::Service< T >::operator-> ( ) const
inline

Definition at line 591 of file AnalysisHelpers.h.

Member Data Documentation

◆ service

template<typename T >
T* o2::framework::Service< T >::service

Definition at line 589 of file AnalysisHelpers.h.


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