ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthHIP
AthHIPComps
src
AthHIP/AthHIPComps/src/SingleStreamSvc.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
//
4
#ifndef ATHHIPCOMPS_SINGLESTREAMSVC_H
5
#define ATHHIPCOMPS_SINGLESTREAMSVC_H
6
7
// Local include(s).
8
#include "
Stream.h
"
9
10
// Framework include(s).
11
#include "
AthenaBaseComps/AthService.h
"
12
13
// AthHIP include(s).
14
#include "
AthHIPInterfaces/IStreamSvc.h
"
15
16
// System include(s).
17
#include <memory>
18
19
namespace
AthHIP
{
20
25
class
SingleStreamSvc
:
public
extends<AthService, IStreamSvc> {
26
27
public
:
28
// Inherit the base class's constructor(s).
29
using
extends::extends;
30
33
35
virtual
StatusCode
initialize
()
override
;
36
38
41
47
virtual
hipStream_t
stream
(
const
EventContext& ctx)
const override
;
48
50
51
private
:
53
std::unique_ptr<const Details::Stream>
m_stream
;
54
55
};
// class SingleStreamSvc
56
57
}
// namespace AthHIP
58
59
#endif
// ATHHIPCOMPS_SINGLESTREAMSVC_H
Stream.h
IStreamSvc.h
AthService.h
AthHIP::SingleStreamSvc
Service providing HIP streams to (reentrant) algorithms.
Definition
AthHIP/AthHIPComps/src/SingleStreamSvc.h:25
AthHIP::SingleStreamSvc::initialize
virtual StatusCode initialize() override
Initialize the tool.
Definition
AthHIP/AthHIPComps/src/SingleStreamSvc.cxx:13
AthHIP::SingleStreamSvc::stream
virtual hipStream_t stream(const EventContext &ctx) const override
Get the HIP stream to use.
Definition
AthHIP/AthHIPComps/src/SingleStreamSvc.cxx:25
AthHIP::SingleStreamSvc::m_stream
std::unique_ptr< const Details::Stream > m_stream
Single HIP stream.
Definition
AthHIP/AthHIPComps/src/SingleStreamSvc.h:53
AthHIP
Definition
AthHIP/AthHIPComps/src/AsyncCopyTool.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0