Project
Loading...
Searching...
No Matches
EndOfStreamContext.h
Go to the documentation of this file.
1
// Copyright 2019-2020 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
#ifndef O2_FRAMEWORK_ENDOFSTREAMCONTEXT_H_
12
#define O2_FRAMEWORK_ENDOFSTREAMCONTEXT_H_
13
14
#include "
Framework/InputRecord.h
"
15
#include "
Framework/ServiceRegistry.h
"
16
#include "
Framework/DataAllocator.h
"
17
18
namespace
o2::framework
19
{
20
21
class
EndOfStreamContext
22
{
23
public
:
24
EndOfStreamContext
(
ServiceRegistryRef
services
,
DataAllocator
& allocator)
25
:
mServices
(
services
),
26
mAllocator
(allocator)
27
{
28
}
29
30
ServiceRegistryRef
services
() {
return
mServices
; }
31
DataAllocator
&
outputs
() {
return
mAllocator
; }
32
33
ServiceRegistryRef
mServices
;
34
DataAllocator
&
mAllocator
;
35
};
36
37
}
// namespace o2::framework
38
39
#endif
// O2_FRAMEWORK_ENDOFSTREAMCONTEXT_H_
DataAllocator.h
InputRecord.h
ServiceRegistry.h
o2::framework::DataAllocator
Definition
DataAllocator.h:135
o2::framework::EndOfStreamContext
Definition
EndOfStreamContext.h:22
o2::framework::EndOfStreamContext::mAllocator
DataAllocator & mAllocator
Definition
EndOfStreamContext.h:34
o2::framework::EndOfStreamContext::outputs
DataAllocator & outputs()
Definition
EndOfStreamContext.h:31
o2::framework::EndOfStreamContext::services
ServiceRegistryRef services()
Definition
EndOfStreamContext.h:30
o2::framework::EndOfStreamContext::mServices
ServiceRegistryRef mServices
Definition
EndOfStreamContext.h:33
o2::framework::EndOfStreamContext::EndOfStreamContext
EndOfStreamContext(ServiceRegistryRef services, DataAllocator &allocator)
Definition
EndOfStreamContext.h:24
o2::framework::ServiceRegistryRef
Definition
ServiceRegistryRef.h:21
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
Framework
Core
include
Framework
EndOfStreamContext.h
Generated on Tue Feb 25 2025 17:03:20 for Project by
1.9.8