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

#include <ServiceHandle.h>

Public Attributes

unsigned int hash
 Unique hash associated to the type of service.
 
voidinstance = nullptr
 Type erased pointer to a service.
 
ServiceKind kind = ServiceKind::Serial
 Kind of service.
 
std::string name = "unknown"
 Mnemonic name to use for the service.
 

Detailed Description

Handle to the service hash must be calculated using TypeIdHelper::uniqueId<BaseClass>() so that we can retrieve the service by its baseclass.

Definition at line 43 of file ServiceHandle.h.

Member Data Documentation

◆ hash

unsigned int o2::framework::ServiceHandle::hash

Unique hash associated to the type of service.

Definition at line 45 of file ServiceHandle.h.

◆ instance

void* o2::framework::ServiceHandle::instance = nullptr

Type erased pointer to a service.

Definition at line 47 of file ServiceHandle.h.

◆ kind

ServiceKind o2::framework::ServiceHandle::kind = ServiceKind::Serial

Kind of service.

Definition at line 49 of file ServiceHandle.h.

◆ name

std::string o2::framework::ServiceHandle::name = "unknown"

Mnemonic name to use for the service.

Definition at line 51 of file ServiceHandle.h.


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