Skip to content

Commit 72357e3

Browse files
authored
DPL: introduce Lifetime::Sporadic as alias to Lifetime::QA (#7400)
1 parent fc9ad2a commit 72357e3

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

Framework/Core/include/Framework/Lifetime.h

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,32 @@ namespace o2::framework
1717
/// Possible Lifetime of objects being exchanged by the DPL.
1818
enum struct Lifetime {
1919
/// A message which is associated to a timeframe. DPL will wait indefinitely for it by default.
20-
Timeframe,
20+
Timeframe = 0,
2121
/// Eventually a message whose content is retrieved from CCDB
22-
Condition,
23-
/// Do not use for now
24-
QA,
22+
Condition = 1,
23+
/// To be used when data is not produced for every timeframe but
24+
/// it can be result of a sampling process (like in the case of
25+
/// QC) or an aggregating one (like in the case of analysis histograms).
26+
QA = 2,
27+
Sporadic = 2,
2528
/// Do not use for now.
26-
Transient,
29+
Transient = 3,
2730
/// A message which is created whenever a Timer expires
28-
Timer,
31+
Timer = 4,
2932
/// A message which is created immediately, with payload / containing a
3033
/// single value which gets incremented for every / invokation.
31-
Enumeration,
34+
Enumeration = 5,
3235
/// A message which is created every time a SIGUSR1 is received.
33-
Signal,
36+
Signal = 6,
3437
/// An optional message. When data arrives, if not already part of the data,
3538
/// a dummy entry will be generated.
3639
/// This comes handy e.g. to handle Raw Data, since DataDistribution will provide
3740
/// everything in one go so whatever is expected but not there, for whatever reason
3841
/// will be substituted with a dummy entry.
39-
Optional,
42+
Optional = 7,
4043
/// An input which is materialised with the contents of some out of band
4144
/// FairMQ channel.
42-
OutOfBand
45+
OutOfBand = 8
4346
};
4447

4548
} // namespace o2::framework

0 commit comments

Comments
 (0)