Project
Loading...
Searching...
No Matches
InspectorHelpers.cxx
Go to the documentation of this file.
1// Copyright 2019-2025 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#include "InspectorHelpers.h"
13
14namespace o2::framework
15{
17{
18 switch (lifetime) {
19 case Lifetime::Timeframe:
20 return "Timeframe";
21 case Lifetime::Condition:
22 return "Condition";
23 case Lifetime::Sporadic:
24 return "Sporadic";
25 case Lifetime::Transient:
26 return "Transient";
27 case Lifetime::Timer:
28 return "Timer";
29 case Lifetime::Enumeration:
30 return "Enumeration";
31 case Lifetime::Signal:
32 return "Signal";
33 case Lifetime::Optional:
34 return "Optional";
35 case Lifetime::OutOfBand:
36 return "OutOfBand";
37 }
38 return "none";
39};
40} // namespace o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
Lifetime
Possible Lifetime of objects being exchanged by the DPL.
Definition Lifetime.h:18
static const char * getLifeTimeStr(Lifetime lifetime)