ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthHIP
AthHIPComps
src
AthHIP/AthHIPComps/src/StreamSvcAdaptorTool.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_STREAMSVCADAPTORTOOL_H
5
#define ATHHIPCOMPS_STREAMSVCADAPTORTOOL_H
6
7
// Framework include(s).
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
11
// AthHIP include(s).
12
#include "
AthHIPInterfaces/IStreamSvc.h
"
13
#include "
AthHIPInterfaces/IStreamTool.h
"
14
15
namespace
AthHIP
{
16
26
class
StreamSvcAdaptorTool
:
public
extends<AthAlgTool, IStreamTool> {
27
28
public
:
29
// Inherit the base class's constructor(s).
30
using
extends::extends;
31
34
36
virtual
StatusCode
initialize
()
override
;
37
39
42
48
virtual
hipStream_t
stream
(
const
EventContext& ctx)
const override
;
49
51
52
private
:
54
ServiceHandle<IStreamSvc>
m_svc
{
55
this
,
"StreamSvc"
,
""
,
"Service providing the 'adapted' HIP streams"
};
56
57
};
// class StreamSvcAdaptorTool
58
59
}
// namespace AthHIP
60
61
#endif
// ATHHIPCOMPS_STREAMSVCADAPTORTOOL_H
AthAlgTool.h
IStreamSvc.h
IStreamTool.h
AthHIP::StreamSvcAdaptorTool
Tool exposing a HIP stream service as a HIP stream tool.
Definition
AthHIP/AthHIPComps/src/StreamSvcAdaptorTool.h:26
AthHIP::StreamSvcAdaptorTool::initialize
virtual StatusCode initialize() override
Initialize the tool.
Definition
AthHIP/AthHIPComps/src/StreamSvcAdaptorTool.cxx:13
AthHIP::StreamSvcAdaptorTool::m_svc
ServiceHandle< IStreamSvc > m_svc
Handle to the service providing the HIP streams.
Definition
AthHIP/AthHIPComps/src/StreamSvcAdaptorTool.h:54
AthHIP::StreamSvcAdaptorTool::stream
virtual hipStream_t stream(const EventContext &ctx) const override
Get the HIP stream to use.
Definition
AthHIP/AthHIPComps/src/StreamSvcAdaptorTool.cxx:22
ServiceHandle
Definition
ClusterMakerTool.h:36
AthHIP
Definition
AthHIP/AthHIPComps/src/AsyncCopyTool.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0