ATLAS Offline Software
Loading...
Searching...
No Matches
AthHIP/AthHIPComps/src/PerEventStreamSvc.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_PEREVENTSTREAMSVC_H
5#define ATHHIPCOMPS_PEREVENTSTREAMSVC_H
6
7// Local include(s).
8#include "Stream.h"
9
10// Framework include(s).
13
14// AthHIP include(s).
16
17// System include(s).
18#include <memory>
19
20namespace AthHIP {
21
27class PerEventStreamSvc : public extends<AthService, IStreamSvc> {
28
29 public:
30 // Inherit the base class's constructor(s).
31 using extends::extends;
32
35
37 virtual StatusCode initialize() override;
38
40
43
49 virtual hipStream_t stream(const EventContext& ctx) const override;
50
52
53 private:
55 std::unique_ptr<
58
59}; // class PerEventStreamSvc
60
61} // namespace AthHIP
62
63#endif // ATHHIPCOMPS_PEREVENTSTREAMSVC_H
Maintain a set of objects, one per slot.
Service providing HIP streams to (reentrant) algorithms.
virtual StatusCode initialize() override
Initialize the tool.
virtual hipStream_t stream(const EventContext &ctx) const override
Get the HIP stream to use.
std::unique_ptr< const SG::SlotSpecificObj< Details::Stream, SG::InvalidSlot::Enabled > > m_streams
Slot specific HIP stream(s).
Maintain a set of objects, one per slot.